Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.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.001355/0.001355, allocations: 103.6 kB / 21.19 MB, free: 0.6523 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.001494/0.001494, allocations: 209.2 kB / 24.48 MB, free: 3.957 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.1844/0.1844, allocations: 38.55 MB / 353.2 MB, free: 12.3 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.ASM_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") [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.002102/0.002102, allocations: 67.89 kB / 493.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3255, allocations: 62.46 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.007722/0.3332, allocations: 5.514 MB / 0.5485 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006836/0.3401, allocations: 4.085 MB / 0.5525 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004415/0.3405, allocations: 28.09 kB / 0.5526 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.351, allocations: 5.429 MB / 0.5579 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.3522, allocations: 442 kB / 0.5583 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/0.3529, allocations: 275.5 kB / 0.5585 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.3552, allocations: 1.808 MB / 0.5603 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008358/0.356, allocations: 0.6181 MB / 0.5609 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000612/0.3567, allocations: 490.4 kB / 0.5614 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007482/0.3574, allocations: 0.5137 MB / 0.5619 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.3575, allocations: 72 kB / 0.562 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.3578, allocations: 143.8 kB / 0.5621 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.3581, allocations: 335.1 kB / 0.5624 GB, free: 480 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.3585, allocations: 330.5 kB / 0.5627 GB, free: 148 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.3597, allocations: 1.035 MB / 0.5637 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3597, allocations: 0 / 0.5637 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3597, allocations: 0 / 0.5637 GB, free: 15.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.3597, allocations: 0 / 0.5637 GB, free: 15.11 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.00195/0.3617, allocations: 0.9797 MB / 0.5647 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3617, allocations: 11.98 kB / 0.5647 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004337/0.3622, allocations: 104.4 kB / 0.5648 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.3634, allocations: 0.5632 MB / 0.5654 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.3635, allocations: 78.98 kB / 0.5654 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.3636, allocations: 67.94 kB / 0.5655 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.3649, allocations: 0.835 MB / 0.5663 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.365, allocations: 7.938 kB / 0.5663 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.365, allocations: 20 kB / 0.5663 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.3651, allocations: 49.28 kB / 0.5664 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.3662, allocations: 0.6118 MB / 0.567 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.3702, allocations: 2.602 MB / 0.5695 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/0.371, allocations: 431.8 kB / 0.5699 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.3714, allocations: 236 kB / 0.5702 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3714, allocations: 4.656 kB / 0.5702 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005262/0.3719, allocations: 376 kB / 0.5705 GB, free: 7.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.205e-06/0.3719, allocations: 0 / 0.5705 GB, free: 7.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003081/0.375, allocations: 1.731 MB / 0.5722 GB, free: 6.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.3751, allocations: 140.5 kB / 0.5723 GB, free: 5.906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.3756, allocations: 417.8 kB / 0.5727 GB, free: 5.492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.3757, allocations: 37.7 kB / 0.5728 GB, free: 5.449 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.3759, allocations: 352.5 kB / 0.5731 GB, free: 5.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.3761, allocations: 166.6 kB / 0.5733 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.3763, allocations: 114.3 kB / 0.5734 GB, free: 4.816 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3764, allocations: 358.8 kB / 0.5737 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.3768, allocations: 254.9 kB / 0.574 GB, free: 4.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.3774, allocations: 427.4 kB / 0.5744 GB, free: 3.711 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/0.3801, allocations: 1.256 MB / 0.5756 GB, free: 2.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3801, allocations: 0 / 0.5756 GB, free: 2.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001793/0.3818, allocations: 0.9846 MB / 0.5766 GB, free: 1.363 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.3819, allocations: 41.7 kB / 0.5766 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3819, allocations: 4 kB / 0.5766 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008802/0.3828, allocations: 305.5 kB / 0.5769 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/0.3837, allocations: 175.7 kB / 0.5771 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006752/0.3905, allocations: 4.991 MB / 0.5819 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.3908, allocations: 27.98 kB / 0.582 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.3909, allocations: 27.98 kB / 0.582 GB, free: 11.59 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.asm_Y_D.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,relay1.y,$PRE.relay1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004031/0.3913, allocations: 291.3 kB / 0.5823 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.3914, allocations: 51.67 kB / 0.5823 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.3926, allocations: 0.6875 MB / 0.583 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3926, allocations: 4 kB / 0.583 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3926, allocations: 0 / 0.583 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3926, allocations: 3.984 kB / 0.583 GB, free: 10.52 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.3949, allocations: 1.326 MB / 0.5843 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3949, allocations: 0 / 0.5843 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.3962, allocations: 191.9 kB / 0.5845 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002277/0.3964, allocations: 78.53 kB / 0.5846 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.3964, allocations: 15.98 kB / 0.5846 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003161/0.3996, allocations: 3.878 MB / 0.5884 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3996, allocations: 4.031 kB / 0.5884 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.4011, allocations: 1.025 MB / 0.5894 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.4013, allocations: 95.56 kB / 0.5895 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.947e-05/0.4014, allocations: 15.98 kB / 0.5895 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.4017, allocations: 16.08 kB / 0.5895 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.4017, allocations: 35.89 kB / 0.5895 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.4018, allocations: 23.92 kB / 0.5895 GB, free: 3.383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003387/0.4021, allocations: 291.1 kB / 0.5898 GB, free: 3.098 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4021, allocations: 0 / 0.5898 GB, free: 3.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006465/0.4028, allocations: 160 kB / 0.59 GB, free: 2.941 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asm_Y_D.motor.i[3],asm_Y_D.motor.psi_s[1],asm_Y_D.motor.psi_s[2],asm_Y_D.motor.psi_rd[1],asm_Y_D.motor.psi_rq[1],loadInertia.w,frictTorq.phi) * Number of discrete variables: 4 ($whenCondition1,relay1.y,relay1.cnt,system.initime) * Number of discrete states: 3 (relay1.y,relay1.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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,1,100.0%), (1,1,100.0%), (1,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.0001458/0.4029, allocations: 125 kB / 0.5901 GB, free: 2.812 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.4047, allocations: 1.017 MB / 0.5911 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4047, allocations: 0 / 0.5911 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008472/0.4056, allocations: 0.6581 MB / 0.5917 GB, free: 1.027 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/0.4062, allocations: 117.1 kB / 0.5918 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.409, allocations: 1.762 MB / 0.5936 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.4095, allocations: 385.8 kB / 0.5939 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.4096, allocations: 43.38 kB / 0.594 GB, free: 14.66 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4096, allocations: 0 / 0.594 GB, free: 14.66 MB / 446.1 MB Notification: Performance of Templates: time 0.01849/0.4281, allocations: 14.73 MB / 0.6084 GB, free: 15.93 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.382411104161292] Failed to read output from testmodel.py, exit status != 0: 0.4374139071442187 0.451289927 0.088533501 Calling exit ...