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.001497/0.001497, allocations: 108.3 kB / 20.48 MB, free: 1.121 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.001781/0.001781, allocations: 204.6 kB / 23.77 MB, free: 4.328 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.572/1.572, allocations: 230.6 MB / 257.6 MB, free: 7.746 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.1969/0.1969, allocations: 38.56 MB / 352.5 MB, free: 12.25 MB / 286.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.002162/0.002162, allocations: 67.89 kB / 493.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3576, allocations: 62.46 MB / 0.5425 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009564/0.3671, allocations: 6.786 MB / 0.5492 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009896/0.377, allocations: 4.854 MB / 0.5539 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.3783, allocations: 39.25 kB / 0.5539 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0148/0.3931, allocations: 6.513 MB / 0.5603 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.3954, allocations: 0.5559 MB / 0.5609 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.397, allocations: 0.5106 MB / 0.5613 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003766/0.4008, allocations: 2.386 MB / 0.5637 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.402, allocations: 0.8609 MB / 0.5645 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.4031, allocations: 0.6266 MB / 0.5651 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.4042, allocations: 0.7511 MB / 0.5659 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.4044, allocations: 100 kB / 0.566 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007852/0.4052, allocations: 303.7 kB / 0.5662 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005516/0.4057, allocations: 0.4948 MB / 0.5667 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005941/0.4063, allocations: 489.8 kB / 0.5672 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.4084, allocations: 1.611 MB / 0.5688 GB, free: 9.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4084, allocations: 0 / 0.5688 GB, free: 9.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4084, allocations: 3.938 kB / 0.5688 GB, free: 9.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.4084, allocations: 0 / 0.5688 GB, free: 9.348 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003128/0.4116, allocations: 1.444 MB / 0.5702 GB, free: 7.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.4116, allocations: 15.97 kB / 0.5702 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008363/0.4125, allocations: 188.1 kB / 0.5704 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.4142, allocations: 0.8379 MB / 0.5712 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.4143, allocations: 61.98 kB / 0.5713 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.4145, allocations: 95.94 kB / 0.5714 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.4165, allocations: 1.26 MB / 0.5726 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/0.4165, allocations: 7.938 kB / 0.5726 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.4166, allocations: 35.98 kB / 0.5726 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002507/0.4169, allocations: 89.92 kB / 0.5727 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.4186, allocations: 1.003 MB / 0.5737 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007113/0.4257, allocations: 4.395 MB / 0.578 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009564/0.4267, allocations: 0.5386 MB / 0.5785 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/0.4273, allocations: 339 kB / 0.5788 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.463e-05/0.4273, allocations: 8.5 kB / 0.5788 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007329/0.4281, allocations: 448.8 kB / 0.5793 GB, free: 14.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.915e-06/0.4281, allocations: 0 / 0.5793 GB, free: 14.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004765/0.4328, allocations: 2.364 MB / 0.5816 GB, free: 11.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.4329, allocations: 119.4 kB / 0.5817 GB, free: 11.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.4339, allocations: 0.7151 MB / 0.5824 GB, free: 10.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.434, allocations: 37.7 kB / 0.5824 GB, free: 10.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004507/0.4345, allocations: 0.5155 MB / 0.5829 GB, free: 10.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.4347, allocations: 249.9 kB / 0.5832 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/0.435, allocations: 186.6 kB / 0.5833 GB, free: 9.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002461/0.4353, allocations: 394.7 kB / 0.5837 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/0.4359, allocations: 377.8 kB / 0.5841 GB, free: 9.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009514/0.4369, allocations: 0.6751 MB / 0.5847 GB, free: 8.406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.4386, allocations: 1.053 MB / 0.5858 GB, free: 7.234 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.4386, allocations: 4 kB / 0.5858 GB, free: 7.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003288/0.4419, allocations: 1.529 MB / 0.5873 GB, free: 5.688 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.4419, allocations: 18.64 kB / 0.5873 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.4419, allocations: 8 kB / 0.5873 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/0.4436, allocations: 490 kB / 0.5878 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/0.4442, allocations: 171.7 kB / 0.5879 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.4552, allocations: 6.758 MB / 0.5945 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.4562, allocations: 48.03 kB / 0.5946 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-05/0.4563, allocations: 44 kB / 0.5946 GB, free: 13.95 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.0007725/0.4571, allocations: 359.7 kB / 0.5949 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.4572, allocations: 87.48 kB / 0.595 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.4592, allocations: 0.9533 MB / 0.596 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4592, allocations: 8 kB / 0.596 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4592, allocations: 3.938 kB / 0.596 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.4592, allocations: 7.984 kB / 0.596 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/0.4626, allocations: 1.744 MB / 0.5977 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4626, allocations: 0 / 0.5977 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/0.4634, allocations: 131.9 kB / 0.5978 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005449/0.4639, allocations: 158.3 kB / 0.598 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.464, allocations: 27.97 kB / 0.598 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004483/0.4685, allocations: 4.438 MB / 0.6023 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4685, allocations: 3.938 kB / 0.6023 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.4709, allocations: 1.375 MB / 0.6037 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.4713, allocations: 131.4 kB / 0.6038 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.4714, allocations: 19.94 kB / 0.6038 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.4718, allocations: 31.97 kB / 0.6038 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.472, allocations: 56.39 kB / 0.6039 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.472, allocations: 20 kB / 0.6039 GB, free: 3.977 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006929/0.4727, allocations: 491 kB / 0.6044 GB, free: 3.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4727, allocations: 0 / 0.6044 GB, free: 3.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001197/0.4739, allocations: 279.9 kB / 0.6047 GB, free: 3.227 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.00181/0.4757, allocations: 0.4926 MB / 0.6051 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002714/0.4784, allocations: 1.284 MB / 0.6064 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4784, allocations: 4.188 kB / 0.6064 GB, free: 1.602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.4798, allocations: 0.7606 MB / 0.6071 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.481, allocations: 193.3 kB / 0.6073 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/0.4864, allocations: 2.692 MB / 0.6099 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009455/0.4874, allocations: 0.5489 MB / 0.6105 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007522/0.4881, allocations: 226.8 kB / 0.6107 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.4884, allocations: 76.42 kB / 0.6108 GB, free: 12.99 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4884, allocations: 3.938 kB / 0.6108 GB, free: 12.98 MB / 462.1 MB Notification: Performance of Templates: time 0.02946/0.5178, allocations: 14.06 MB / 0.6245 GB, free: 15.11 MB / 478.1 MB " [Timeout remaining time 659] 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.846933601424098] Failed to read output from testmodel.py, exit status != 0: 0.5278087481856346 0.544119684 0.13222006699999994 Calling exit ...