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.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.001317/0.001317, allocations: 110.9 kB / 19.03 MB, free: 3.402 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.001527/0.001527, allocations: 194 kB / 22.22 MB, free: 228 kB / 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.426/1.426, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.1791/0.1791, allocations: 38.51 MB / 344.4 MB, free: 2.512 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.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: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 482 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3343, allocations: 61.25 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.006763/0.341, allocations: 5.373 MB / 0.5358 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.3473, allocations: 3.996 MB / 0.5397 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004958/0.3478, allocations: 19.12 kB / 0.5397 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.3579, allocations: 4.975 MB / 0.5446 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.359, allocations: 332.4 kB / 0.5449 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.3596, allocations: 216.5 kB / 0.5451 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.3619, allocations: 1.593 MB / 0.5467 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007244/0.3626, allocations: 492.6 kB / 0.5471 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005769/0.3632, allocations: 373 kB / 0.5475 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006225/0.3638, allocations: 438.5 kB / 0.5479 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.621e-05/0.3639, allocations: 56.25 kB / 0.548 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.3641, allocations: 68.91 kB / 0.548 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.3644, allocations: 261.4 kB / 0.5483 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003631/0.3647, allocations: 322 kB / 0.5486 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.3658, allocations: 0.8144 MB / 0.5494 GB, free: 8.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3658, allocations: 0 / 0.5494 GB, free: 8.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3658, allocations: 1.25 kB / 0.5494 GB, free: 8.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3658, allocations: 0 / 0.5494 GB, free: 8.922 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.00178/0.3676, allocations: 0.8868 MB / 0.5502 GB, free: 8.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3677, allocations: 12.8 kB / 0.5503 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.368, allocations: 74.34 kB / 0.5503 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.369, allocations: 0.5679 MB / 0.5509 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.369, allocations: 32.56 kB / 0.5509 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/0.3691, allocations: 52.41 kB / 0.551 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.3701, allocations: 0.6335 MB / 0.5516 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.866e-05/0.3702, allocations: 4 kB / 0.5516 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.3703, allocations: 16 kB / 0.5516 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.3704, allocations: 44.97 kB / 0.5516 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007617/0.3711, allocations: 467.6 kB / 0.5521 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003248/0.3744, allocations: 2.519 MB / 0.5545 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.3748, allocations: 261.2 kB / 0.5548 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.3751, allocations: 129.7 kB / 0.5549 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.3751, allocations: 4.5 kB / 0.5549 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3751, allocations: 38.56 kB / 0.555 GB, free: 3.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.064e-06/0.3751, allocations: 0 / 0.555 GB, free: 3.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.003396/0.3785, allocations: 1.561 MB / 0.5565 GB, free: 1.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.3786, allocations: 77.11 kB / 0.5566 GB, free: 1.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.3792, allocations: 409.9 kB / 0.557 GB, free: 1.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.3792, allocations: 33.7 kB / 0.557 GB, free: 1.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.3795, allocations: 304.2 kB / 0.5573 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.3796, allocations: 122.9 kB / 0.5574 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.3797, allocations: 86.11 kB / 0.5575 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3799, allocations: 358.7 kB / 0.5578 GB, free: 220 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.3801, allocations: 132.8 kB / 0.5579 GB, free: 88 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.3805, allocations: 274.3 kB / 0.5582 GB, free: 15.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.3811, allocations: 457.6 kB / 0.5586 GB, free: 15.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3811, allocations: 4 kB / 0.5586 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001185/0.3823, allocations: 0.6718 MB / 0.5593 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3823, allocations: 4 kB / 0.5593 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3823, allocations: 8 kB / 0.5593 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/0.3828, allocations: 149.8 kB / 0.5595 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.3831, allocations: 75.84 kB / 0.5595 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003871/0.387, allocations: 3.676 MB / 0.5631 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.3873, allocations: 16 kB / 0.5631 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3873, allocations: 24.06 kB / 0.5632 GB, free: 10.3 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.00034/0.3877, allocations: 237.6 kB / 0.5634 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.764e-05/0.3877, allocations: 51.72 kB / 0.5634 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.3888, allocations: 0.571 MB / 0.564 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3888, allocations: 4 kB / 0.564 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007797/0.3896, allocations: 486.3 kB / 0.5645 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3896, allocations: 0 / 0.5645 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.3912, allocations: 0.9935 MB / 0.5654 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3912, allocations: 8.062 kB / 0.5654 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.3915, allocations: 43.92 kB / 0.5655 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/0.3917, allocations: 88.77 kB / 0.5656 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.3918, allocations: 11.98 kB / 0.5656 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/0.3939, allocations: 2.016 MB / 0.5675 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3939, allocations: 0 / 0.5675 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009823/0.3949, allocations: 0.6445 MB / 0.5682 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.3951, allocations: 140.8 kB / 0.5683 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.3952, allocations: 8 kB / 0.5683 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3954, allocations: 11.98 kB / 0.5683 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.3954, allocations: 19.97 kB / 0.5683 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.3954, allocations: 8 kB / 0.5683 GB, free: 4.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003719/0.3958, allocations: 303.1 kB / 0.5686 GB, free: 4.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3958, allocations: 0 / 0.5686 GB, free: 4.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005769/0.3964, allocations: 124.1 kB / 0.5688 GB, free: 4.219 MB / 414.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.0001353/0.3965, allocations: 111.1 kB / 0.5689 GB, free: 4.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.3976, allocations: 0.6036 MB / 0.5695 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3976, allocations: 0 / 0.5695 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.3981, allocations: 290.3 kB / 0.5697 GB, free: 3.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.3987, allocations: 114.8 kB / 0.5698 GB, free: 3.066 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.4007, allocations: 1.153 MB / 0.571 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.4013, allocations: 0.9206 MB / 0.5719 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000224/0.4015, allocations: 72.33 kB / 0.5719 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.8e-05/0.4016, allocations: 39.42 kB / 0.572 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4016, allocations: 0 / 0.572 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of Templates: time 0.01203/0.4137, allocations: 5.888 MB / 0.5777 GB, free: 10.98 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.036183196119964]