Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9921/0.9921, allocations: 177.2 MB / 200 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 164.5 kB / 256.6 MB, free: 12.97 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02591/0.02591, allocations: 6.663 MB / 319.8 MB, free: 26.51 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 391.7 MB, free: 2.516 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.752e-05, allocations: 6.312 kB / 391.7 MB, free: 2.508 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.1358/0.1358, allocations: 24.75 MB / 416.4 MB, free: 69.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.1486, allocations: 8.01 MB / 424.5 MB, free: 67.42 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005013/0.1536, allocations: 205.3 kB / 424.7 MB, free: 67.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008246/0.1619, allocations: 6.461 MB / 431.1 MB, free: 63.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006277/0.1682, allocations: 2.857 MB / 434 MB, free: 61.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.1707, allocations: 1.647 MB / 435.6 MB, free: 60.44 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005451/0.1762, allocations: 7.64 MB / 443.3 MB, free: 55.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008316/0.1845, allocations: 9.025 MB / 452.3 MB, free: 46.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007108/0.1916, allocations: 5.764 MB / 458.1 MB, free: 40.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005238/0.1968, allocations: 4.027 MB / 462.1 MB, free: 36.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002101/0.1989, allocations: 1.07 MB / 463.1 MB, free: 35.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.2023, allocations: 1.456 MB / 464.6 MB, free: 34.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.2035, allocations: 2.213 MB / 466.8 MB, free: 31.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003294/0.2068, allocations: 2.784 MB / 469.6 MB, free: 29.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007633/0.2144, allocations: 6.988 MB / 476.6 MB, free: 22.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2144, allocations: 0 / 476.6 MB, free: 22.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2144, allocations: 0 / 476.6 MB, free: 22.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001708/0.2146, allocations: 0 / 476.6 MB, free: 22.15 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.01542/0.23, allocations: 9.374 MB / 486 MB, free: 12.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2301, allocations: 12.03 kB / 486 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01849/0.2486, allocations: 5.483 MB / 491.5 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006506/0.2551, allocations: 4.441 MB / 495.9 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.2553, allocations: 485.1 kB / 496.4 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009226/0.2562, allocations: 0.6249 MB / 497 MB, free: 1.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008702/0.2649, allocations: 5.649 MB / 0.4909 GB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.265, allocations: 15.89 kB / 0.4909 GB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004223/0.2654, allocations: 264 kB / 0.4911 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005092/0.2659, allocations: 417.7 kB / 0.4915 GB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006558/0.2725, allocations: 3.32 MB / 0.4948 GB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03294/0.3054, allocations: 27.39 MB / 0.5215 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007503/0.3129, allocations: 6.156 MB / 0.5275 GB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.3145, allocations: 1.038 MB / 0.5285 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.3147, allocations: 94.25 kB / 0.5286 GB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.3147, allocations: 71.72 kB / 0.5287 GB, free: 4.953 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 4.309e-06/0.3147, allocations: 0 / 0.5287 GB, free: 4.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01145/0.3262, allocations: 6.414 MB / 0.535 GB, free: 14.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3262, allocations: 81.78 kB / 0.535 GB, free: 14.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.3293, allocations: 2.554 MB / 0.5375 GB, free: 11.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002676/0.3296, allocations: 73.7 kB / 0.5376 GB, free: 11.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001679/0.3313, allocations: 3.126 MB / 0.5407 GB, free: 8.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.3324, allocations: 1.1 MB / 0.5417 GB, free: 7.418 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009908/0.3334, allocations: 0.9777 MB / 0.5427 GB, free: 6.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.3335, allocations: 480.7 kB / 0.5432 GB, free: 5.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.3347, allocations: 0.6805 MB / 0.5438 GB, free: 5.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/0.3372, allocations: 3.216 MB / 0.547 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1477/0.4849, allocations: 4.249 MB / 0.5511 GB, free: 89.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.476e-05/0.4849, allocations: 16.53 kB / 0.5511 GB, free: 89.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.006772/0.4917, allocations: 4.062 MB / 0.5551 GB, free: 89.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.4917, allocations: 34.83 kB / 0.5551 GB, free: 89.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.226e-05/0.4918, allocations: 54.31 kB / 0.5552 GB, free: 89.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.4932, allocations: 0.6168 MB / 0.5558 GB, free: 89.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/0.4956, allocations: 1.071 MB / 0.5568 GB, free: 89.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004969/0.5006, allocations: 4.381 MB / 0.5611 GB, free: 87.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.503, allocations: 277.9 kB / 0.5614 GB, free: 87.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004336/0.5034, allocations: 227.7 kB / 0.5616 GB, free: 87.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001704/0.5051, allocations: 461.6 kB / 0.562 GB, free: 87.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007084/0.5058, allocations: 410.2 kB / 0.5624 GB, free: 87.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/0.5098, allocations: 2.74 MB / 0.5651 GB, free: 87.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.5098, allocations: 30.31 kB / 0.5651 GB, free: 87.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.5099, allocations: 5.344 kB / 0.5651 GB, free: 87.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.5099, allocations: 19.77 kB / 0.5651 GB, free: 87.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.5213, allocations: 7.691 MB / 0.5727 GB, free: 86.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.5213, allocations: 2.875 kB / 0.5727 GB, free: 86.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.5225, allocations: 0.5341 MB / 0.5732 GB, free: 86.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001121/0.5236, allocations: 0.5152 MB / 0.5737 GB, free: 86.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.5238, allocations: 79.27 kB / 0.5738 GB, free: 86.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/0.5274, allocations: 3.975 MB / 0.5776 GB, free: 84.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5274, allocations: 7.531 kB / 0.5776 GB, free: 84.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004799/0.5322, allocations: 3.362 MB / 0.5809 GB, free: 83.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.5335, allocations: 0.5863 MB / 0.5815 GB, free: 83.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/0.5338, allocations: 60.47 kB / 0.5816 GB, free: 83.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009194/0.5348, allocations: 145.6 kB / 0.5817 GB, free: 83.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/0.5351, allocations: 220.2 kB / 0.5819 GB, free: 83.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.5353, allocations: 91.81 kB / 0.582 GB, free: 83.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001721/0.537, allocations: 1.24 MB / 0.5832 GB, free: 83.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.537, allocations: 0 / 0.5832 GB, free: 83.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003643/0.5407, allocations: 1.169 MB / 0.5843 GB, free: 82.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005335/0.5412, allocations: 242.5 kB / 0.5846 GB, free: 81.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00442/0.5456, allocations: 2.999 MB / 0.5875 GB, free: 79.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.5456, allocations: 4 kB / 0.5875 GB, free: 79.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.5475, allocations: 1.485 MB / 0.589 GB, free: 78.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.5495, allocations: 0.5981 MB / 0.5895 GB, free: 77.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.5617, allocations: 9.432 MB / 0.5988 GB, free: 68.99 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.563, allocations: 1.632 MB / 0.6004 GB, free: 67.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002085/0.5651, allocations: 1.106 MB / 0.6014 GB, free: 67.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006065/0.5657, allocations: 283.1 kB / 0.6017 GB, free: 66.8 MB / 394.7 MB Notification: Performance of SimCode: time 2.154e-06/0.5657, allocations: 2.719 kB / 0.6017 GB, free: 66.8 MB / 394.7 MB Notification: Performance of Templates: time 0.05138/0.6171, allocations: 45.04 MB / 0.6457 GB, free: 22.45 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.663100990001112]