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.001808/0.001808, allocations: 84.58 kB / 20.68 MB, free: 1.035 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.002039/0.002039, allocations: 168.2 kB / 23.96 MB, free: 4.16 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.468/1.468, allocations: 177.1 MB / 204.3 MB, free: 9.211 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.1857/0.1857, allocations: 29.43 MB / 290.1 MB, free: 3.305 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.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.503e-06/1.503e-06, allocations: 0 / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.101e-05, allocations: 9.734 kB / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009374/0.009405, allocations: 6.75 MB / 437.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.02013, allocations: 4.864 MB / 442.3 MB, free: 6.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.0212, allocations: 39.69 kB / 442.4 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2403/0.2615, allocations: 6.509 MB / 448.9 MB, free: 19.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.2634, allocations: 0.5783 MB / 449.5 MB, free: 19.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.265, allocations: 0.5172 MB / 450 MB, free: 19.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00487/0.2699, allocations: 2.424 MB / 452.4 MB, free: 19.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.2716, allocations: 0.8564 MB / 453.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.2739, allocations: 0.8386 MB / 454.1 MB, free: 19.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.2755, allocations: 0.6826 MB / 454.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003651/0.2759, allocations: 101.9 kB / 454.9 MB, free: 19.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.2769, allocations: 311.7 kB / 455.2 MB, free: 19.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007724/0.2777, allocations: 0.5184 MB / 455.7 MB, free: 19.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009507/0.2786, allocations: 408.2 kB / 456.1 MB, free: 19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002775/0.2814, allocations: 1.636 MB / 457.7 MB, free: 18.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2814, allocations: 1.125 kB / 457.7 MB, free: 18.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2814, allocations: 3.312 kB / 457.7 MB, free: 18.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.435e-05/0.2815, allocations: 0 / 457.7 MB, free: 18.85 MB / 366.1 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.004068/0.2856, allocations: 1.43 MB / 459.2 MB, free: 18.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.466e-05/0.2856, allocations: 13.14 kB / 459.2 MB, free: 18.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009207/0.2865, allocations: 194.5 kB / 459.4 MB, free: 17.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.2884, allocations: 0.837 MB / 460.2 MB, free: 17.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.2884, allocations: 58.41 kB / 460.3 MB, free: 17.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.2887, allocations: 91.11 kB / 460.4 MB, free: 17.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.2908, allocations: 1.26 MB / 461.6 MB, free: 16.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.2908, allocations: 6.375 kB / 461.6 MB, free: 16.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.2909, allocations: 39.31 kB / 461.7 MB, free: 16.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002422/0.2912, allocations: 87.38 kB / 461.8 MB, free: 16.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.2929, allocations: 0.9995 MB / 462.8 MB, free: 16.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006589/0.2995, allocations: 4.396 MB / 467.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3005, allocations: 0.5394 MB / 467.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008117/0.3014, allocations: 331.2 kB / 468 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.259e-05/0.3014, allocations: 9.5 kB / 468 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009239/0.3024, allocations: 455.9 kB / 468.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.396e-06/0.3024, allocations: 3.938 kB / 468.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.008825/0.3112, allocations: 2.355 MB / 470.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.3113, allocations: 114.9 kB / 470.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.3129, allocations: 0.7139 MB / 471.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.313, allocations: 36.61 kB / 471.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/0.3134, allocations: 0.5205 MB / 472.2 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.3137, allocations: 245.4 kB / 472.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004484/0.3141, allocations: 181 kB / 472.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.3143, allocations: 401.6 kB / 473 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.3154, allocations: 378.2 kB / 473.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.3165, allocations: 0.6786 MB / 474.1 MB, free: 9.672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.3186, allocations: 1.056 MB / 475.1 MB, free: 8.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.3186, allocations: 1.969 kB / 475.1 MB, free: 8.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004671/0.3233, allocations: 1.529 MB / 476.6 MB, free: 8.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.3233, allocations: 12.09 kB / 476.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.3233, allocations: 13.66 kB / 476.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/0.3255, allocations: 487 kB / 477.1 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.3265, allocations: 173.5 kB / 477.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/0.3409, allocations: 6.756 MB / 484.1 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.3424, allocations: 48.03 kB / 484.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.3426, allocations: 43.98 kB / 484.2 MB, free: 2.695 MB / 366.1 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.001169/0.3438, allocations: 351.9 kB / 484.5 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.3441, allocations: 91.38 kB / 484.6 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.3472, allocations: 0.9487 MB / 485.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3472, allocations: 7.984 kB / 485.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3472, allocations: 8 kB / 485.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.3472, allocations: 0 / 485.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006157/0.3534, allocations: 1.758 MB / 487.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3534, allocations: 4 kB / 487.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.3549, allocations: 126.7 kB / 487.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/0.3559, allocations: 167.8 kB / 487.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.356, allocations: 23.92 kB / 487.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007595/0.3636, allocations: 4.41 MB / 492 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/0.3636, allocations: 4.031 kB / 492 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004544/0.3682, allocations: 1.376 MB / 493.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007661/0.369, allocations: 135.4 kB / 493.6 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003714/0.3693, allocations: 23.98 kB / 493.6 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009733/0.3703, allocations: 27.98 kB / 493.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.3706, allocations: 52.33 kB / 493.7 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.3707, allocations: 31.05 kB / 493.7 MB, free: 8.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001477/0.3721, allocations: 487 kB / 494.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3721, allocations: 0 / 494.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002462/0.3746, allocations: 283.8 kB / 494.4 MB, free: 8.086 MB / 382.1 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.003091/0.3777, allocations: 0.5138 MB / 495 MB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005225/0.3829, allocations: 1.269 MB / 496.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.3829, allocations: 5.438 kB / 496.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00261/0.3855, allocations: 0.7661 MB / 497 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.388, allocations: 186.8 kB / 497.2 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005985/0.394, allocations: 2.393 MB / 499.6 MB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.3952, allocations: 0.5489 MB / 0.4884 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008371/0.396, allocations: 226.8 kB / 0.4886 GB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.3963, allocations: 76.42 kB / 0.4887 GB, free: 2.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.235e-06/0.3963, allocations: 0 / 0.4887 GB, free: 2.25 MB / 382.1 MB Notification: Performance of Templates: time 0.03079/0.4271, allocations: 14.02 MB / 0.5024 GB, free: 4.465 MB / 398.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.48031497746706] Failed to read output from testmodel.py, exit status != 0: 0.4378167949616909 0.45385135299999996 0.169055758 Calling exit ...