Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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.001434/0.001434, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.00163/0.00163, allocations: 181.5 kB / 23.71 MB, free: 4.695 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.558/1.558, allocations: 225.6 MB / 252.5 MB, free: 13 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.2044/0.2044, allocations: 38.54 MB / 346.3 MB, free: 2.051 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.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 71.88 kB / 484.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3853, allocations: 61.28 MB / 0.533 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.0085/0.3938, allocations: 7.636 MB / 0.5405 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009666/0.4035, allocations: 5.287 MB / 0.5457 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009454/0.4044, allocations: 38.88 kB / 0.5457 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0159/0.4204, allocations: 6.611 MB / 0.5521 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.4228, allocations: 0.7118 MB / 0.5528 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.4246, allocations: 0.5146 MB / 0.5533 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005134/0.4297, allocations: 2.783 MB / 0.5561 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.432, allocations: 1.085 MB / 0.5571 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.4339, allocations: 0.8099 MB / 0.5579 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.4358, allocations: 0.9969 MB / 0.5589 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000504/0.4363, allocations: 144 kB / 0.559 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.4382, allocations: 0.6983 MB / 0.5597 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.4394, allocations: 0.6585 MB / 0.5603 GB, free: 80 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001995/0.4413, allocations: 0.7545 MB / 0.5611 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005141/0.4465, allocations: 2.215 MB / 0.5632 GB, free: 13.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4465, allocations: 4 kB / 0.5632 GB, free: 13.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4465, allocations: 0 / 0.5632 GB, free: 13.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.746e-05/0.4466, allocations: 0 / 0.5632 GB, free: 13.09 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.00613/0.4527, allocations: 1.91 MB / 0.5651 GB, free: 11.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4527, allocations: 8.031 kB / 0.5651 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.4538, allocations: 183.9 kB / 0.5653 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.4564, allocations: 0.9742 MB / 0.5662 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.4566, allocations: 187 kB / 0.5664 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.457, allocations: 115.9 kB / 0.5665 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/0.4611, allocations: 1.859 MB / 0.5684 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/0.4612, allocations: 7.938 kB / 0.5684 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.4613, allocations: 39.94 kB / 0.5684 GB, free: 7.641 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003442/0.4617, allocations: 133.9 kB / 0.5685 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003482/0.4652, allocations: 1.6 MB / 0.5701 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.4762, allocations: 5.646 MB / 0.5756 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.4791, allocations: 1.038 MB / 0.5766 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.4809, allocations: 0.68 MB / 0.5773 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-05/0.4809, allocations: 16.98 kB / 0.5773 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002156/0.4831, allocations: 0.9729 MB / 0.5782 GB, free: 13.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 2.956e-06/0.4831, allocations: 4 kB / 0.5783 GB, free: 13.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=119): time 0.0118/0.4949, allocations: 4.335 MB / 0.5825 GB, free: 8.965 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.495, allocations: 123.8 kB / 0.5826 GB, free: 8.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.4963, allocations: 0.7782 MB / 0.5834 GB, free: 8.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.4964, allocations: 57.69 kB / 0.5834 GB, free: 7.965 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005139/0.4969, allocations: 0.5166 MB / 0.5839 GB, free: 7.441 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004503/0.4974, allocations: 428.4 kB / 0.5843 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004688/0.4979, allocations: 246.8 kB / 0.5846 GB, free: 6.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000246/0.4981, allocations: 418.7 kB / 0.585 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.4993, allocations: 0.6865 MB / 0.5856 GB, free: 5.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.5007, allocations: 0.9688 MB / 0.5866 GB, free: 4.609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.5034, allocations: 1.678 MB / 0.5882 GB, free: 2.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.5034, allocations: 8 kB / 0.5882 GB, free: 2.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004696/0.5081, allocations: 2.235 MB / 0.5904 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.479e-05/0.5082, allocations: 65.67 kB / 0.5905 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.5082, allocations: 8 kB / 0.5905 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/0.5097, allocations: 418.2 kB / 0.5909 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009164/0.5106, allocations: 207.8 kB / 0.5911 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.5214, allocations: 6.052 MB / 0.597 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.523, allocations: 91.89 kB / 0.5971 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003955/0.5234, allocations: 91.88 kB / 0.5972 GB, free: 9.406 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.001086/0.5245, allocations: 469.3 kB / 0.5976 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.5249, allocations: 111.3 kB / 0.5977 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004719/0.5296, allocations: 1.792 MB / 0.5995 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/0.5296, allocations: 39.86 kB / 0.5995 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.5297, allocations: 0 / 0.5995 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.5297, allocations: 11.97 kB / 0.5995 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007643/0.5373, allocations: 3.235 MB / 0.6027 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.5373, allocations: 0 / 0.6027 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.5384, allocations: 167.8 kB / 0.6028 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006252/0.539, allocations: 162.5 kB / 0.603 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.5392, allocations: 39.95 kB / 0.603 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005156/0.5443, allocations: 4.502 MB / 0.6074 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5443, allocations: 0 / 0.6074 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006795/0.5511, allocations: 2.746 MB / 0.6101 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007647/0.5519, allocations: 239.1 kB / 0.6103 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003483/0.5522, allocations: 83.94 kB / 0.6104 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.5534, allocations: 111.8 kB / 0.6105 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.5536, allocations: 76.86 kB / 0.6106 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.5537, allocations: 39.97 kB / 0.6106 GB, free: 11.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009101/0.5546, allocations: 0.538 MB / 0.6112 GB, free: 10.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5546, allocations: 0 / 0.6112 GB, free: 10.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001483/0.5561, allocations: 359.9 kB / 0.6115 GB, free: 10.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 17 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001848/0.558, allocations: 0.5076 MB / 0.612 GB, free: 9.867 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005017/0.563, allocations: 2.149 MB / 0.6141 GB, free: 7.688 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.563, allocations: 0 / 0.6141 GB, free: 7.688 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002677/0.5657, allocations: 1.162 MB / 0.6152 GB, free: 6.484 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.5673, allocations: 245 kB / 0.6155 GB, free: 6.242 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007787/0.5751, allocations: 3.47 MB / 0.6189 GB, free: 2.738 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.5768, allocations: 1.277 MB / 0.6201 GB, free: 1.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001556/0.5783, allocations: 292.6 kB / 0.6204 GB, free: 1.141 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005251/0.5789, allocations: 83.42 kB / 0.6205 GB, free: 1.059 MB / 462.1 MB Notification: Performance of SimCode: time 2.405e-06/0.5789, allocations: 0 / 0.6205 GB, free: 1.059 MB / 462.1 MB Notification: Performance of Templates: time 0.04665/0.6255, allocations: 20.59 MB / 0.6406 GB, free: 12.61 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.088628640398383] Failed to read output from testmodel.py, exit status != 0: 0.636071965098381 0.652016877 0.202007662 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1805e797b0>