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.001527/0.001527, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001728/0.001728, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.387/1.387, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.18/0.18, allocations: 38.53 MB / 353.2 MB, free: 12.6 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.002006/0.002006, allocations: 79.88 kB / 493.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3153, allocations: 62.46 MB / 0.5432 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007085/0.3223, allocations: 5.407 MB / 0.5485 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006439/0.3288, allocations: 4.037 MB / 0.5524 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004095/0.3292, allocations: 22.97 kB / 0.5525 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0129/0.3421, allocations: 5.429 MB / 0.5578 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.3432, allocations: 326.5 kB / 0.5581 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007169/0.344, allocations: 219.7 kB / 0.5583 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002741/0.3467, allocations: 1.641 MB / 0.5599 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009437/0.3476, allocations: 0.5301 MB / 0.5604 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000713/0.3484, allocations: 374.7 kB / 0.5608 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008432/0.3492, allocations: 446.4 kB / 0.5612 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.3493, allocations: 56 kB / 0.5612 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.3496, allocations: 71.92 kB / 0.5613 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.3499, allocations: 255.3 kB / 0.5616 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006003/0.3505, allocations: 326.5 kB / 0.5619 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.3518, allocations: 0.8211 MB / 0.5627 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3518, allocations: 0 / 0.5627 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3518, allocations: 0 / 0.5627 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.296e-05/0.3518, allocations: 0 / 0.5627 GB, free: 0.5469 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.002062/0.3539, allocations: 0.8143 MB / 0.5635 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3539, allocations: 11.98 kB / 0.5635 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003427/0.3543, allocations: 76.5 kB / 0.5636 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.3554, allocations: 495.4 kB / 0.564 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.3554, allocations: 44.98 kB / 0.5641 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.3555, allocations: 40 kB / 0.5641 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3566, allocations: 0.6258 MB / 0.5647 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.3566, allocations: 4 kB / 0.5647 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.3567, allocations: 20 kB / 0.5647 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.3568, allocations: 48.97 kB / 0.5648 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007988/0.3576, allocations: 467.5 kB / 0.5652 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.361, allocations: 2.438 MB / 0.5676 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.3615, allocations: 261.1 kB / 0.5679 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.3617, allocations: 126.2 kB / 0.568 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.3617, allocations: 4 kB / 0.568 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3618, allocations: 38.56 kB / 0.568 GB, free: 10.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.515e-06/0.3618, allocations: 0 / 0.568 GB, free: 10.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002923/0.3647, allocations: 1.255 MB / 0.5692 GB, free: 9.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.3647, allocations: 81.11 kB / 0.5693 GB, free: 9.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/0.3652, allocations: 418 kB / 0.5697 GB, free: 8.996 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.3653, allocations: 29.7 kB / 0.5698 GB, free: 8.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.3655, allocations: 312.2 kB / 0.5701 GB, free: 8.652 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3656, allocations: 115 kB / 0.5702 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.3658, allocations: 82.08 kB / 0.5702 GB, free: 8.453 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.366, allocations: 358.7 kB / 0.5706 GB, free: 8.094 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.3662, allocations: 132.7 kB / 0.5707 GB, free: 7.965 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.3665, allocations: 278.3 kB / 0.571 GB, free: 7.625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.3671, allocations: 449.9 kB / 0.5714 GB, free: 7.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3671, allocations: 3.984 kB / 0.5714 GB, free: 7.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001124/0.3683, allocations: 0.5927 MB / 0.572 GB, free: 6.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3683, allocations: 8 kB / 0.572 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3683, allocations: 8 kB / 0.572 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/0.3687, allocations: 149.5 kB / 0.5721 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.369, allocations: 79.84 kB / 0.5722 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003673/0.3727, allocations: 3.473 MB / 0.5756 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.373, allocations: 12 kB / 0.5756 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.373, allocations: 20 kB / 0.5756 GB, free: 2.527 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.0003276/0.3734, allocations: 237.6 kB / 0.5759 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.3735, allocations: 55.61 kB / 0.5759 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009951/0.3744, allocations: 0.5 MB / 0.5764 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.3745, allocations: 4 kB / 0.5764 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007391/0.3752, allocations: 409.2 kB / 0.5768 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3752, allocations: 4 kB / 0.5768 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.3768, allocations: 0.9616 MB / 0.5777 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3768, allocations: 0 / 0.5777 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.377, allocations: 39.92 kB / 0.5778 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002696/0.3773, allocations: 84.78 kB / 0.5779 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.3773, allocations: 16.03 kB / 0.5779 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.3796, allocations: 1.92 MB / 0.5798 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3796, allocations: 32 / 0.5798 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3806, allocations: 0.6518 MB / 0.5804 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.3807, allocations: 63.64 kB / 0.5805 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.3808, allocations: 8 kB / 0.5805 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.381, allocations: 8 kB / 0.5805 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.3811, allocations: 28.02 kB / 0.5805 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.3811, allocations: 11.98 kB / 0.5805 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.3815, allocations: 299.1 kB / 0.5808 GB, free: 13 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3815, allocations: 0 / 0.5808 GB, free: 13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005626/0.3821, allocations: 120 kB / 0.5809 GB, free: 12.89 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.0001438/0.3822, allocations: 111.1 kB / 0.581 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.3833, allocations: 0.5907 MB / 0.5816 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3833, allocations: 1.188 kB / 0.5816 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.3838, allocations: 294.8 kB / 0.5819 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.3844, allocations: 118.8 kB / 0.582 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.3865, allocations: 1.204 MB / 0.5832 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.3872, allocations: 0.9165 MB / 0.5841 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.629e-05/0.3873, allocations: 35.42 kB / 0.5841 GB, free: 9.512 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3873, allocations: 0 / 0.5841 GB, free: 9.512 MB / 430.1 MB Notification: Performance of Templates: time 0.01473/0.402, allocations: 10.05 MB / 0.5939 GB, free: 15.47 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.540307029848918] Failed to read output from testmodel.py, exit status != 0: 0.41140954406000674 0.426045098 0.071073178 Calling exit ...