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.001949/0.001949, allocations: 112 kB / 20.43 MB, free: 1.309 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.002271/0.002271, allocations: 189.9 kB / 23.72 MB, free: 4.555 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.448/1.448, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.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.1867/0.1867, allocations: 38.54 MB / 346.3 MB, free: 2.074 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.003243/0.003243, allocations: 67.89 kB / 484.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4164, allocations: 61.3 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.006457/0.4228, allocations: 5.401 MB / 0.5383 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005545/0.4284, allocations: 3.997 MB / 0.5422 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.4288, allocations: 23.53 kB / 0.5422 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01061/0.4394, allocations: 5.418 MB / 0.5475 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009205/0.4403, allocations: 329.1 kB / 0.5478 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.4408, allocations: 215.5 kB / 0.548 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002265/0.4431, allocations: 1.643 MB / 0.5496 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006845/0.4438, allocations: 489.5 kB / 0.5501 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.4443, allocations: 373.5 kB / 0.5505 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005901/0.4448, allocations: 443.5 kB / 0.5509 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.418e-05/0.4449, allocations: 56.56 kB / 0.5509 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.4451, allocations: 64.69 kB / 0.551 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.4454, allocations: 265.8 kB / 0.5513 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.4458, allocations: 325.4 kB / 0.5516 GB, free: 8.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009792/0.4468, allocations: 0.8073 MB / 0.5524 GB, free: 8.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4468, allocations: 0 / 0.5524 GB, free: 8.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4468, allocations: 0 / 0.5524 GB, free: 8.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.4468, allocations: 4 kB / 0.5524 GB, free: 8.297 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.001664/0.4484, allocations: 0.8104 MB / 0.5532 GB, free: 7.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4485, allocations: 12.03 kB / 0.5532 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.4488, allocations: 72.5 kB / 0.5532 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.4499, allocations: 0.4916 MB / 0.5537 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.45, allocations: 33 kB / 0.5537 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.4501, allocations: 47.95 kB / 0.5538 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.4511, allocations: 0.6336 MB / 0.5544 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.4511, allocations: 7.938 kB / 0.5544 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.4512, allocations: 16 kB / 0.5544 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/0.4513, allocations: 52.97 kB / 0.5545 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007845/0.4521, allocations: 463.6 kB / 0.5549 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003359/0.4555, allocations: 2.434 MB / 0.5573 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.4559, allocations: 257.2 kB / 0.5575 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.4562, allocations: 133.7 kB / 0.5577 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.4562, allocations: 0.5 kB / 0.5577 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.4562, allocations: 38.56 kB / 0.5577 GB, free: 2.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.924e-06/0.4562, allocations: 3.938 kB / 0.5577 GB, free: 2.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.00293/0.4591, allocations: 1.236 MB / 0.5589 GB, free: 1.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.4592, allocations: 85.05 kB / 0.559 GB, free: 1.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.4597, allocations: 417.8 kB / 0.5594 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.4597, allocations: 29.7 kB / 0.5594 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.46, allocations: 308.2 kB / 0.5597 GB, free: 428 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.4601, allocations: 126.9 kB / 0.5598 GB, free: 300 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.4602, allocations: 82.09 kB / 0.5599 GB, free: 212 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.4604, allocations: 362.7 kB / 0.5603 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.4607, allocations: 128.8 kB / 0.5604 GB, free: 15.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.461, allocations: 273.1 kB / 0.5607 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/0.4617, allocations: 461.9 kB / 0.5611 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4617, allocations: 4 kB / 0.5611 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001161/0.4628, allocations: 0.5923 MB / 0.5617 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4629, allocations: 8 kB / 0.5617 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.4629, allocations: 4.406 kB / 0.5617 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004679/0.4633, allocations: 153.5 kB / 0.5618 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.4636, allocations: 75.89 kB / 0.5619 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/0.4676, allocations: 3.473 MB / 0.5653 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.4679, allocations: 12 kB / 0.5653 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.468, allocations: 27.92 kB / 0.5653 GB, free: 10.27 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.0003549/0.4683, allocations: 233.7 kB / 0.5656 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.4684, allocations: 43.72 kB / 0.5656 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.4696, allocations: 0.4961 MB / 0.5661 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4696, allocations: 4 kB / 0.5661 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000905/0.4705, allocations: 409.1 kB / 0.5665 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.4705, allocations: 3.984 kB / 0.5665 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.4723, allocations: 0.9654 MB / 0.5674 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4723, allocations: 0 / 0.5674 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.4725, allocations: 51.95 kB / 0.5675 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000291/0.4728, allocations: 85.02 kB / 0.5676 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.4728, allocations: 8 kB / 0.5676 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.4751, allocations: 1.92 MB / 0.5694 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4751, allocations: 4.031 kB / 0.5694 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4762, allocations: 0.6537 MB / 0.5701 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.4764, allocations: 59.73 kB / 0.5701 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.4764, allocations: 7.984 kB / 0.5701 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.4766, allocations: 4 kB / 0.5702 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.4767, allocations: 27.89 kB / 0.5702 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.4767, allocations: 12 kB / 0.5702 GB, free: 5.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003734/0.4771, allocations: 307.2 kB / 0.5705 GB, free: 4.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4771, allocations: 0 / 0.5705 GB, free: 4.758 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.4776, allocations: 120 kB / 0.5706 GB, free: 4.641 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.0001352/0.4778, allocations: 103.1 kB / 0.5707 GB, free: 4.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.4789, allocations: 0.5953 MB / 0.5713 GB, free: 3.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.4789, allocations: 0 / 0.5713 GB, free: 3.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004809/0.4793, allocations: 295.5 kB / 0.5716 GB, free: 3.605 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.48, allocations: 116.6 kB / 0.5717 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.482, allocations: 1.151 MB / 0.5728 GB, free: 2.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/0.4826, allocations: 0.9167 MB / 0.5737 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.4829, allocations: 76.31 kB / 0.5738 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.4829, allocations: 35.38 kB / 0.5738 GB, free: 1.25 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.483, allocations: 0 / 0.5738 GB, free: 1.25 MB / 414.1 MB Notification: Performance of Templates: time 0.01242/0.4954, allocations: 6.021 MB / 0.5797 GB, free: 11.29 MB / 430.1 MB " [Timeout remaining time 659] 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: 5.266063348390162] Failed to read output from testmodel.py, exit status != 0: 0.506026042625308 0.517614972 0.067855806 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7a208c57b0>