Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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.0009585/0.0009585, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.00101/0.00101, allocations: 162.6 kB / 24.99 MB, free: 9.273 MB / 18.57 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.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2644/0.2644, allocations: 29.42 MB / 291.2 MB, free: 2.445 MB / 266.7 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.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.946e-05, allocations: 2.312 kB / 369.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.006801/0.006821, allocations: 7.224 MB / 376.9 MB, free: 4.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005958/0.01278, allocations: 5.071 MB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004187/0.0132, allocations: 39.69 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007381/0.02058, allocations: 6.623 MB / 388.6 MB, free: 8.258 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008087/0.02139, allocations: 0.5825 MB / 389.2 MB, free: 7.672 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.0222, allocations: 0.5104 MB / 389.7 MB, free: 7.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.02423, allocations: 2.432 MB / 392.1 MB, free: 4.723 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007629/0.02499, allocations: 0.8923 MB / 393 MB, free: 3.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.02576, allocations: 0.8377 MB / 393.9 MB, free: 2.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006892/0.02645, allocations: 0.6896 MB / 394.5 MB, free: 2.289 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.02657, allocations: 103.9 kB / 394.6 MB, free: 2.188 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.027, allocations: 315.5 kB / 395 MB, free: 1.879 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003462/0.02734, allocations: 0.526 MB / 395.5 MB, free: 1.352 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.02771, allocations: 411.1 kB / 395.9 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.02877, allocations: 1.11 MB / 397 MB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.02877, allocations: 0 / 397 MB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.02877, allocations: 0 / 397 MB, free: 15.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.02878, allocations: 0 / 397 MB, free: 15.84 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.001706/0.03049, allocations: 1.541 MB / 398.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.03052, allocations: 15.98 kB / 398.5 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/0.03108, allocations: 264 kB / 398.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.03209, allocations: 0.8687 MB / 399.7 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.03213, allocations: 58 kB / 399.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.03223, allocations: 91.92 kB / 399.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009229/0.03316, allocations: 0.877 MB / 400.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.03318, allocations: 3.953 kB / 400.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.03324, allocations: 40 kB / 400.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.03337, allocations: 81.95 kB / 400.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006693/0.03404, allocations: 451.3 kB / 401.3 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003653/0.03769, allocations: 4.89 MB / 406.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.03818, allocations: 344.7 kB / 406.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.03845, allocations: 180.7 kB / 406.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.03849, allocations: 8.5 kB / 406.7 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003915/0.03889, allocations: 304.1 kB / 407 MB, free: 5.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.714e-06/0.03889, allocations: 0 / 407 MB, free: 5.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002472/0.04136, allocations: 1.604 MB / 408.6 MB, free: 3.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.04142, allocations: 111.5 kB / 408.7 MB, free: 3.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.04199, allocations: 0.7101 MB / 409.4 MB, free: 2.914 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.04203, allocations: 37.7 kB / 409.4 MB, free: 2.871 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.04233, allocations: 0.5768 MB / 410 MB, free: 2.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.04249, allocations: 253.8 kB / 410.3 MB, free: 2.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.04269, allocations: 192.2 kB / 410.4 MB, free: 1.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.04291, allocations: 0.586 MB / 411 MB, free: 1.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.04317, allocations: 141.9 kB / 411.2 MB, free: 1.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.04363, allocations: 0.5814 MB / 411.7 MB, free: 352 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007158/0.04434, allocations: 0.7495 MB / 412.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.04435, allocations: 4 kB / 412.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001491/0.04584, allocations: 1.05 MB / 413.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.04586, allocations: 8 kB / 413.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.04587, allocations: 8 kB / 413.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.04688, allocations: 435 kB / 414 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.04721, allocations: 167.7 kB / 414.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00494/0.05215, allocations: 5.582 MB / 419.7 MB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.05245, allocations: 43.98 kB / 419.8 MB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.05251, allocations: 43.98 kB / 419.8 MB, free: 7.828 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.05271, allocations: 212.3 kB / 420 MB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.05282, allocations: 107.4 kB / 420.1 MB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008705/0.05369, allocations: 0.6219 MB / 420.8 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.05369, allocations: 8 kB / 420.8 MB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.0537, allocations: 0 / 420.8 MB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.0537, allocations: 3.984 kB / 420.8 MB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.05542, allocations: 1.446 MB / 422.2 MB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.05543, allocations: 0 / 422.2 MB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.0558, allocations: 127.8 kB / 422.3 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.05607, allocations: 127 kB / 422.5 MB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.05612, allocations: 23.98 kB / 422.5 MB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/0.05897, allocations: 5.462 MB / 427.9 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.05897, allocations: 4 kB / 428 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.06004, allocations: 0.9368 MB / 428.9 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.06021, allocations: 127.4 kB / 429 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.06028, allocations: 19.98 kB / 429 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.06048, allocations: 27.97 kB / 429.1 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.06059, allocations: 60.28 kB / 429.1 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.06062, allocations: 31.92 kB / 429.2 MB, free: 13.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000325/0.06095, allocations: 419 kB / 429.6 MB, free: 13.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06095, allocations: 0 / 429.6 MB, free: 13.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000647/0.06159, allocations: 287.9 kB / 429.8 MB, free: 13.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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,3,100.0%), (2,1,100.0%), (2,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.001277/0.06287, allocations: 459.3 kB / 430.3 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.06415, allocations: 1.082 MB / 431.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.06415, allocations: 7.938 kB / 431.4 MB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.06478, allocations: 0.8034 MB / 432.2 MB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005827/0.06536, allocations: 200.8 kB / 432.4 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.06819, allocations: 2.169 MB / 434.5 MB, free: 8.574 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.06839, allocations: 276.7 kB / 434.8 MB, free: 8.285 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003418/0.06873, allocations: 198.8 kB / 435 MB, free: 8.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.06886, allocations: 68.47 kB / 435.1 MB, free: 8.016 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.06886, allocations: 4 kB / 435.1 MB, free: 8.012 MB / 410.7 MB Notification: Performance of Templates: time 0.1363/0.2051, allocations: 14.2 MB / 449.3 MB, free: 108 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.636427143123001]