Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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.002099/0.002099, allocations: 73.25 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] 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.00309/0.00309, allocations: 159.4 kB / 24.5 MB, free: 3.715 MB / 14.72 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 1.584/1.584, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.1745/0.1745, allocations: 29.43 MB / 290.7 MB, free: 3.258 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003586/0.003586, allocations: 59.91 kB / 431.2 MB, free: 3.215 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3487, allocations: 62.44 MB / 493.6 MB, free: 37.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.00681/0.3555, allocations: 6.789 MB / 0.4887 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00667/0.3622, allocations: 4.856 MB / 0.4934 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007174/0.3629, allocations: 40.47 kB / 0.4935 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01149/0.3744, allocations: 6.514 MB / 0.4998 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.376, allocations: 0.5536 MB / 0.5004 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.3772, allocations: 0.503 MB / 0.5009 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002829/0.38, allocations: 2.394 MB / 0.5032 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009358/0.381, allocations: 0.8498 MB / 0.504 GB, free: 26.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008335/0.3818, allocations: 0.6381 MB / 0.5047 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008129/0.3826, allocations: 0.7444 MB / 0.5054 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.3828, allocations: 100.3 kB / 0.5055 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005658/0.3833, allocations: 307.2 kB / 0.5058 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.3837, allocations: 0.4915 MB / 0.5063 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.3841, allocations: 488.8 kB / 0.5067 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.3854, allocations: 1.621 MB / 0.5083 GB, free: 24.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3854, allocations: 0 / 0.5083 GB, free: 24.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3854, allocations: 0 / 0.5083 GB, free: 24.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.3854, allocations: 0 / 0.5083 GB, free: 24.76 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002523/0.3879, allocations: 1.442 MB / 0.5097 GB, free: 23.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.388, allocations: 16.77 kB / 0.5097 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007927/0.3888, allocations: 185.2 kB / 0.5099 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.3907, allocations: 0.8376 MB / 0.5107 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.3908, allocations: 63.52 kB / 0.5108 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.3909, allocations: 92.64 kB / 0.5109 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.393, allocations: 1.256 MB / 0.5121 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.3931, allocations: 8 kB / 0.5121 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.423e-05/0.3931, allocations: 35.52 kB / 0.5121 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002291/0.3934, allocations: 87.41 kB / 0.5122 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.3949, allocations: 1.01 MB / 0.5132 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006106/0.401, allocations: 4.399 MB / 0.5175 GB, free: 19.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009257/0.402, allocations: 0.5457 MB / 0.518 GB, free: 18.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.4025, allocations: 327.3 kB / 0.5184 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.608e-05/0.4026, allocations: 13.41 kB / 0.5184 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00067/0.4032, allocations: 452.8 kB / 0.5188 GB, free: 18.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=62): time 2.494e-06/0.4032, allocations: 0 / 0.5188 GB, free: 18.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=65): time 0.004609/0.4078, allocations: 2.365 MB / 0.5211 GB, free: 17.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.4079, allocations: 115.7 kB / 0.5212 GB, free: 17.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008933/0.4088, allocations: 0.7146 MB / 0.5219 GB, free: 17.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.4088, allocations: 36.52 kB / 0.522 GB, free: 17.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.4091, allocations: 0.5185 MB / 0.5225 GB, free: 16.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.4093, allocations: 246.6 kB / 0.5227 GB, free: 16.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.4096, allocations: 183.3 kB / 0.5229 GB, free: 16.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4097, allocations: 395.5 kB / 0.5232 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005944/0.4103, allocations: 375.1 kB / 0.5236 GB, free: 15.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007065/0.411, allocations: 0.6761 MB / 0.5243 GB, free: 15.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.4124, allocations: 1.056 MB / 0.5253 GB, free: 14.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/0.4124, allocations: 6.656 kB / 0.5253 GB, free: 14.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003086/0.4155, allocations: 1.527 MB / 0.5268 GB, free: 14.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.4155, allocations: 9.625 kB / 0.5268 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.4156, allocations: 8.25 kB / 0.5268 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/0.4171, allocations: 491.8 kB / 0.5273 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.4177, allocations: 173.5 kB / 0.5274 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00878/0.4265, allocations: 6.754 MB / 0.534 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009066/0.4274, allocations: 50.61 kB / 0.5341 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.842e-05/0.4275, allocations: 45.09 kB / 0.5341 GB, free: 9.547 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0005539/0.4281, allocations: 359.1 kB / 0.5345 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.4282, allocations: 81.98 kB / 0.5346 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.4299, allocations: 0.955 MB / 0.5355 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.43, allocations: 7.156 kB / 0.5355 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.43, allocations: 7.141 kB / 0.5355 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.43, allocations: 3.891 kB / 0.5355 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/0.4333, allocations: 1.754 MB / 0.5372 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4333, allocations: 1.906 kB / 0.5372 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007809/0.4341, allocations: 128.3 kB / 0.5373 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005588/0.4346, allocations: 164.7 kB / 0.5375 GB, free: 7.957 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.4347, allocations: 20.33 kB / 0.5375 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003582/0.4383, allocations: 4.429 MB / 0.5418 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.4383, allocations: 5 kB / 0.5418 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.4407, allocations: 1.368 MB / 0.5432 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/0.4411, allocations: 136.8 kB / 0.5433 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.4413, allocations: 25.03 kB / 0.5433 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.4417, allocations: 34.73 kB / 0.5434 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.4419, allocations: 52.95 kB / 0.5434 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.913e-05/0.4419, allocations: 22.72 kB / 0.5434 GB, free: 3.184 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007757/0.4427, allocations: 488.3 kB / 0.5439 GB, free: 2.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4427, allocations: 3.938 kB / 0.5439 GB, free: 2.973 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001518/0.4442, allocations: 279.9 kB / 0.5442 GB, free: 2.934 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001677/0.4459, allocations: 0.4929 MB / 0.5447 GB, free: 2.715 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002582/0.4485, allocations: 1.293 MB / 0.5459 GB, free: 2.008 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4485, allocations: 5.375 kB / 0.5459 GB, free: 2.004 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.4497, allocations: 0.7617 MB / 0.5467 GB, free: 1.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.4507, allocations: 189.6 kB / 0.5469 GB, free: 1.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/0.4551, allocations: 2.696 MB / 0.5495 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/0.4559, allocations: 0.5527 MB / 0.55 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007015/0.4566, allocations: 222.9 kB / 0.5502 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.4568, allocations: 68.48 kB / 0.5503 GB, free: 14.58 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4568, allocations: 4 kB / 0.5503 GB, free: 14.57 MB / 462.1 MB Notification: Performance of Templates: time 0.02898/0.4858, allocations: 14.07 MB / 0.564 GB, free: 0.6914 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9661717710550874] Failed to read output from testmodel.py, exit status != 0: 0.4977771220728755 0.51075076 0.12185005800000001 Calling exit ...