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.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.001638/0.001638, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002025/0.002025, allocations: 209.6 kB / 23.73 MB, free: 4.387 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1842/0.1842, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.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: 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.002114/0.002114, allocations: 79.89 kB / 493 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3881, allocations: 62.47 MB / 0.5424 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007891/0.3959, allocations: 5.065 MB / 0.5474 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007156/0.4031, allocations: 3.634 MB / 0.5509 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005814/0.4037, allocations: 23 kB / 0.5509 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01329/0.417, allocations: 5.318 MB / 0.5561 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.4183, allocations: 338.4 kB / 0.5565 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007582/0.4191, allocations: 219.6 kB / 0.5567 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002826/0.4219, allocations: 1.622 MB / 0.5583 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.423, allocations: 0.5223 MB / 0.5588 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008357/0.4238, allocations: 378.7 kB / 0.5591 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009157/0.4247, allocations: 430.3 kB / 0.5595 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.4249, allocations: 56 kB / 0.5596 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.4252, allocations: 67.98 kB / 0.5597 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.4255, allocations: 251.3 kB / 0.5599 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004965/0.426, allocations: 262.8 kB / 0.5601 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.4272, allocations: 0.8212 MB / 0.5609 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4272, allocations: 0 / 0.5609 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4272, allocations: 3.938 kB / 0.561 GB, free: 1.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.59e-05/0.4273, allocations: 0 / 0.561 GB, free: 1.203 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.002127/0.4294, allocations: 0.8124 MB / 0.5617 GB, free: 372 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4294, allocations: 11.98 kB / 0.5618 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.4298, allocations: 72.52 kB / 0.5618 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.431, allocations: 0.4916 MB / 0.5623 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.4311, allocations: 44.98 kB / 0.5623 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-05/0.4312, allocations: 40 kB / 0.5624 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.4324, allocations: 0.6297 MB / 0.563 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.4325, allocations: 3.938 kB / 0.563 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/0.4325, allocations: 23.97 kB / 0.563 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.4327, allocations: 52.97 kB / 0.5631 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008463/0.4335, allocations: 459.6 kB / 0.5635 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003699/0.4372, allocations: 2.236 MB / 0.5657 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.4377, allocations: 257.1 kB / 0.5659 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.438, allocations: 130.2 kB / 0.5661 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.438, allocations: 8 kB / 0.5661 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.4381, allocations: 38.56 kB / 0.5661 GB, free: 11.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/0.4381, allocations: 0 / 0.5661 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.003245/0.4413, allocations: 1.251 MB / 0.5673 GB, free: 10.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.4414, allocations: 89.05 kB / 0.5674 GB, free: 10.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.4419, allocations: 381.5 kB / 0.5678 GB, free: 9.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.4419, allocations: 29.7 kB / 0.5678 GB, free: 9.859 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.4422, allocations: 304.1 kB / 0.5681 GB, free: 9.555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.4423, allocations: 123 kB / 0.5682 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.4424, allocations: 82.08 kB / 0.5683 GB, free: 9.348 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.4426, allocations: 354.8 kB / 0.5686 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.4429, allocations: 128.8 kB / 0.5688 GB, free: 8.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.4432, allocations: 280.1 kB / 0.569 GB, free: 8.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/0.4439, allocations: 457.9 kB / 0.5695 GB, free: 8.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4439, allocations: 0 / 0.5695 GB, free: 8.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001178/0.4451, allocations: 0.5925 MB / 0.57 GB, free: 7.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.4451, allocations: 18.88 kB / 0.5701 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.4451, allocations: 4 kB / 0.5701 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000487/0.4456, allocations: 141.5 kB / 0.5702 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.4459, allocations: 87.83 kB / 0.5703 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/0.4498, allocations: 3.392 MB / 0.5736 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.4501, allocations: 19.92 kB / 0.5736 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.4502, allocations: 20 kB / 0.5736 GB, free: 3.523 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.000355/0.4505, allocations: 241.7 kB / 0.5739 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/0.4506, allocations: 43.72 kB / 0.5739 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.4518, allocations: 499.8 kB / 0.5744 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.4518, allocations: 8 kB / 0.5744 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000781/0.4526, allocations: 409.2 kB / 0.5748 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4526, allocations: 3.938 kB / 0.5748 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.4543, allocations: 0.8614 MB / 0.5756 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4543, allocations: 0 / 0.5756 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.4545, allocations: 39.92 kB / 0.5757 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002803/0.4548, allocations: 88.83 kB / 0.5757 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.4548, allocations: 19.97 kB / 0.5758 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.4572, allocations: 1.878 MB / 0.5776 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.4572, allocations: 7.969 kB / 0.5776 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.4582, allocations: 0.6435 MB / 0.5782 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.4584, allocations: 59.73 kB / 0.5783 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.4584, allocations: 11.98 kB / 0.5783 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.4586, allocations: 7.938 kB / 0.5783 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.4587, allocations: 31.89 kB / 0.5783 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.4587, allocations: 4 kB / 0.5783 GB, free: 14.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003577/0.459, allocations: 279.1 kB / 0.5786 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.459, allocations: 0 / 0.5786 GB, free: 14.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005886/0.4596, allocations: 116 kB / 0.5787 GB, free: 14.09 MB / 430.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.0001617/0.4598, allocations: 107.2 kB / 0.5788 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.4609, allocations: 0.5881 MB / 0.5794 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4609, allocations: 4.125 kB / 0.5794 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.4614, allocations: 298.3 kB / 0.5797 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.462, allocations: 97.53 kB / 0.5798 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.4641, allocations: 1.136 MB / 0.5809 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.4645, allocations: 323.7 kB / 0.5812 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002293/0.4648, allocations: 67.41 kB / 0.5813 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.067e-05/0.4649, allocations: 35.42 kB / 0.5813 GB, free: 11.34 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4649, allocations: 0 / 0.5813 GB, free: 11.34 MB / 430.1 MB Notification: Performance of Templates: time 0.01271/0.4776, allocations: 5.889 MB / 0.5871 GB, free: 5.543 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: 5.41770189628005] Failed to read output from testmodel.py, exit status != 0: 0.4871187936514616 0.501755975 0.071062107 Calling exit ...