Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001325, allocations: 119.5 kB / 18.41 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 188.3 kB / 21.35 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 247 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2797/0.2797, allocations: 38.01 MB / 337.2 MB, free: 12.93 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 63.97 kB / 467.5 MB, free: 27.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09936, allocations: 58.07 MB / 0.5133 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007382/0.1068, allocations: 5.226 MB / 0.5184 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006474/0.1133, allocations: 3.965 MB / 0.5223 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004153/0.1137, allocations: 15.88 kB / 0.5223 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009392/0.1231, allocations: 4.792 MB / 0.5269 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009479/0.1242, allocations: 326.4 kB / 0.5273 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.1247, allocations: 215.7 kB / 0.5275 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.1269, allocations: 1.551 MB / 0.529 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008344/0.1277, allocations: 0.5963 MB / 0.5296 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.1282, allocations: 358.7 kB / 0.5299 GB, free: 8.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005862/0.1288, allocations: 410.5 kB / 0.5303 GB, free: 8.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.953e-05/0.1289, allocations: 56 kB / 0.5304 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.1291, allocations: 71.92 kB / 0.5304 GB, free: 8.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.1294, allocations: 251.4 kB / 0.5307 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003518/0.1298, allocations: 322.5 kB / 0.531 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009715/0.1307, allocations: 0.8172 MB / 0.5318 GB, free: 6.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1308, allocations: 0 / 0.5318 GB, free: 6.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1308, allocations: 0 / 0.5318 GB, free: 6.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1308, allocations: 0 / 0.5318 GB, free: 6.828 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001636/0.1324, allocations: 0.8741 MB / 0.5326 GB, free: 5.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1325, allocations: 15.89 kB / 0.5326 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.1328, allocations: 68.52 kB / 0.5327 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.1338, allocations: 0.5765 MB / 0.5333 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.1339, allocations: 36.98 kB / 0.5333 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.323e-05/0.134, allocations: 44 kB / 0.5333 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/0.1349, allocations: 0.6258 MB / 0.534 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.135, allocations: 3.953 kB / 0.534 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.135, allocations: 23.98 kB / 0.534 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.1352, allocations: 48.97 kB / 0.534 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007716/0.136, allocations: 467.6 kB / 0.5345 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.1391, allocations: 2.507 MB / 0.5369 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.1396, allocations: 277.2 kB / 0.5372 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.1399, allocations: 150.2 kB / 0.5373 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.1399, allocations: 12 kB / 0.5373 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1399, allocations: 34.56 kB / 0.5374 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 6.141e-06/0.14, allocations: 3.938 kB / 0.5374 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.003043/0.143, allocations: 1.554 MB / 0.5389 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.1431, allocations: 81.09 kB / 0.539 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004924/0.1436, allocations: 413.9 kB / 0.5394 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.1436, allocations: 33.7 kB / 0.5394 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.1439, allocations: 308.2 kB / 0.5397 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.144, allocations: 115 kB / 0.5398 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.1442, allocations: 86.08 kB / 0.5399 GB, free: 14.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1444, allocations: 358.7 kB / 0.5402 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.1446, allocations: 128.8 kB / 0.5403 GB, free: 13.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.1449, allocations: 282.2 kB / 0.5406 GB, free: 13.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.1456, allocations: 453.7 kB / 0.541 GB, free: 12.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1456, allocations: 7.938 kB / 0.5411 GB, free: 12.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001168/0.1467, allocations: 0.6744 MB / 0.5417 GB, free: 12.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1468, allocations: 8.438 kB / 0.5417 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.1468, allocations: 8 kB / 0.5417 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004698/0.1473, allocations: 149.5 kB / 0.5419 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.1476, allocations: 79.83 kB / 0.5419 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/0.1514, allocations: 3.668 MB / 0.5455 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.1518, allocations: 16 kB / 0.5455 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.1518, allocations: 23.98 kB / 0.5456 GB, free: 7.773 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003607/0.1522, allocations: 233.6 kB / 0.5458 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.1523, allocations: 43.72 kB / 0.5458 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.1534, allocations: 0.5751 MB / 0.5464 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1534, allocations: 7.984 kB / 0.5464 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007745/0.1542, allocations: 483.5 kB / 0.5469 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1542, allocations: 4 kB / 0.5469 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.1557, allocations: 1.005 MB / 0.5478 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.1558, allocations: 4 kB / 0.5479 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.156, allocations: 43.91 kB / 0.5479 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002887/0.1563, allocations: 88.78 kB / 0.548 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.1563, allocations: 8 kB / 0.548 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.1585, allocations: 2.02 MB / 0.55 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1586, allocations: 4.031 kB / 0.55 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.1596, allocations: 0.6562 MB / 0.5506 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.1598, allocations: 140.8 kB / 0.5507 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.1598, allocations: 11.98 kB / 0.5508 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.1601, allocations: 8 kB / 0.5508 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.1601, allocations: 15.97 kB / 0.5508 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.1602, allocations: 12 kB / 0.5508 GB, free: 2.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003742/0.1605, allocations: 307.2 kB / 0.5511 GB, free: 1.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1606, allocations: 0 / 0.5511 GB, free: 1.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005391/0.1611, allocations: 120 kB / 0.5512 GB, free: 1.676 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001339/0.1612, allocations: 103.1 kB / 0.5513 GB, free: 1.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.1623, allocations: 0.6185 MB / 0.5519 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1624, allocations: 0 / 0.5519 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.1628, allocations: 307.2 kB / 0.5522 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006666/0.1635, allocations: 112.2 kB / 0.5523 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.1656, allocations: 1.187 MB / 0.5535 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005867/0.1662, allocations: 0.9244 MB / 0.5544 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.1663, allocations: 39.41 kB / 0.5544 GB, free: 14.29 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1663, allocations: 0 / 0.5544 GB, free: 14.29 MB / 430.1 MB Notification: Performance of Templates: time 0.01403/0.1804, allocations: 9.982 MB / 0.5641 GB, free: 4.312 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.509079077048227] Failed to read output from testmodel.py, exit status != 0: 0.18716971506364644 0.20189541200000002 0.06790143800000001 Calling exit ...