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.001334/0.001334, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001468/0.001468, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.494/1.494, allocations: 177.2 MB / 204.9 MB, free: 9.07 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.1791/0.1791, allocations: 29.43 MB / 290.7 MB, free: 3.324 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.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.003459/0.003459, allocations: 63.89 kB / 431.2 MB, free: 3.285 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3963, allocations: 62.44 MB / 493.6 MB, free: 37.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005479/0.4017, allocations: 5.063 MB / 498.7 MB, free: 34.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004932/0.4067, allocations: 3.646 MB / 0.4906 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/0.4071, allocations: 24.28 kB / 0.4906 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009128/0.4162, allocations: 5.358 MB / 0.4958 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009689/0.4172, allocations: 328.8 kB / 0.4961 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.4177, allocations: 219.3 kB / 0.4963 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.4194, allocations: 1.639 MB / 0.4979 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005782/0.42, allocations: 0.5185 MB / 0.4984 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004334/0.4204, allocations: 383.3 kB / 0.4988 GB, free: 29.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005406/0.421, allocations: 417.7 kB / 0.4992 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.4211, allocations: 53.41 kB / 0.4993 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.4213, allocations: 70.14 kB / 0.4993 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.4216, allocations: 258.1 kB / 0.4996 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.4218, allocations: 258.1 kB / 0.4998 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007204/0.4225, allocations: 0.8223 MB / 0.5006 GB, free: 28.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4225, allocations: 0 / 0.5006 GB, free: 28.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4225, allocations: 0 / 0.5006 GB, free: 28.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.4225, allocations: 0 / 0.5006 GB, free: 28.54 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001834/0.4244, allocations: 0.8125 MB / 0.5014 GB, free: 27.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4244, allocations: 13.67 kB / 0.5014 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003767/0.4248, allocations: 78.78 kB / 0.5015 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.426, allocations: 497.6 kB / 0.502 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.426, allocations: 37.88 kB / 0.502 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/0.4261, allocations: 45.89 kB / 0.5021 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.4271, allocations: 0.6295 MB / 0.5027 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.4272, allocations: 6.406 kB / 0.5027 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/0.4272, allocations: 18.81 kB / 0.5027 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.4274, allocations: 52.98 kB / 0.5027 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008871/0.4283, allocations: 458.7 kB / 0.5032 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003449/0.4317, allocations: 2.239 MB / 0.5054 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/0.4323, allocations: 263.8 kB / 0.5056 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.4325, allocations: 123.6 kB / 0.5057 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.4326, allocations: 6.5 kB / 0.5057 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.4326, allocations: 37.84 kB / 0.5058 GB, free: 25.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 4.067e-06/0.4326, allocations: 0 / 0.5058 GB, free: 25.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.00369/0.4363, allocations: 1.254 MB / 0.507 GB, free: 24.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.4363, allocations: 84.11 kB / 0.5071 GB, free: 24.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.4368, allocations: 380 kB / 0.5075 GB, free: 24.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.4368, allocations: 33.64 kB / 0.5075 GB, free: 24.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.437, allocations: 312.4 kB / 0.5078 GB, free: 23.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.4371, allocations: 123.3 kB / 0.5079 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.4373, allocations: 82.75 kB / 0.508 GB, free: 23.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.4374, allocations: 353 kB / 0.5083 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.4376, allocations: 130.7 kB / 0.5084 GB, free: 23.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.438, allocations: 280.8 kB / 0.5087 GB, free: 23.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.4386, allocations: 453.4 kB / 0.5091 GB, free: 22.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4386, allocations: 2.938 kB / 0.5091 GB, free: 22.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001338/0.44, allocations: 0.5916 MB / 0.5097 GB, free: 22.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.44, allocations: 9.094 kB / 0.5097 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.44, allocations: 2.906 kB / 0.5097 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005472/0.4405, allocations: 145.3 kB / 0.5099 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.4409, allocations: 81.55 kB / 0.5099 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003631/0.4446, allocations: 3.403 MB / 0.5133 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/0.445, allocations: 22.17 kB / 0.5133 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.445, allocations: 15.78 kB / 0.5133 GB, free: 19.68 MB / 446.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.0003711/0.4454, allocations: 234.4 kB / 0.5135 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.4455, allocations: 38.52 kB / 0.5136 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.4468, allocations: 0.5031 MB / 0.5141 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4468, allocations: 4.156 kB / 0.5141 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0009314/0.4477, allocations: 412.6 kB / 0.5145 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4477, allocations: 0 / 0.5145 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.4495, allocations: 0.8555 MB / 0.5153 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4495, allocations: 1.125 kB / 0.5153 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.4498, allocations: 42.52 kB / 0.5153 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003565/0.4502, allocations: 88.97 kB / 0.5154 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.4502, allocations: 7.656 kB / 0.5154 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.4524, allocations: 1.891 MB / 0.5173 GB, free: 16.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4524, allocations: 1.375 kB / 0.5173 GB, free: 16.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.4536, allocations: 0.6353 MB / 0.5179 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.4538, allocations: 61.53 kB / 0.518 GB, free: 16.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.733e-05/0.4539, allocations: 11.05 kB / 0.518 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.4542, allocations: 12.28 kB / 0.518 GB, free: 16.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.4543, allocations: 32.19 kB / 0.518 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.4543, allocations: 13.3 kB / 0.518 GB, free: 16.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004228/0.4547, allocations: 274.2 kB / 0.5183 GB, free: 16.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4547, allocations: 0 / 0.5183 GB, free: 16.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009043/0.4557, allocations: 119.1 kB / 0.5184 GB, free: 16.42 MB / 446.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.0001174/0.4558, allocations: 102.7 kB / 0.5185 GB, free: 16.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.4571, allocations: 0.5983 MB / 0.5191 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.4571, allocations: 0 / 0.5191 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005778/0.4577, allocations: 297 kB / 0.5194 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009058/0.4586, allocations: 91.14 kB / 0.5194 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.4612, allocations: 1.135 MB / 0.5206 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.4618, allocations: 321.7 kB / 0.5209 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003489/0.4621, allocations: 72 kB / 0.5209 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.4622, allocations: 35.69 kB / 0.521 GB, free: 14.93 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4622, allocations: 1.062 kB / 0.521 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Templates: time 0.01748/0.4797, allocations: 5.195 MB / 0.526 GB, free: 14.31 MB / 446.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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.228799239033833] Failed to read output from testmodel.py, exit status != 0: 0.49293414398562163 0.5043095710000001 0.07902036200000001 Calling exit ...