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.001016/0.001016, allocations: 84.8 kB / 21.5 MB, free: 2.992 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.001005/0.001005, allocations: 169.9 kB / 24.91 MB, free: 9.199 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.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.267/0.267, allocations: 29.42 MB / 291.2 MB, free: 2.422 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.422e-06/1.422e-06, allocations: 0 / 316.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.194e-05, allocations: 2.312 kB / 316.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.006619/0.006641, allocations: 6.733 MB / 323.6 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006708/0.01335, allocations: 5.126 MB / 328.8 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000712/0.01406, allocations: 43.62 kB / 328.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008164/0.02223, allocations: 6.241 MB / 335 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.02366, allocations: 0.567 MB / 335.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.02473, allocations: 0.5104 MB / 336.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002352/0.02708, allocations: 2.42 MB / 338.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009871/0.02807, allocations: 0.8983 MB / 339.4 MB, free: 9.277 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.02911, allocations: 0.8569 MB / 340.3 MB, free: 8.422 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008062/0.02992, allocations: 0.6467 MB / 340.9 MB, free: 7.773 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.03007, allocations: 100 kB / 341 MB, free: 7.676 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006116/0.03068, allocations: 327.5 kB / 341.4 MB, free: 7.355 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003455/0.03102, allocations: 0.5143 MB / 341.9 MB, free: 6.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.0314, allocations: 403.1 kB / 342.3 MB, free: 6.445 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.03269, allocations: 1.102 MB / 343.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.03269, allocations: 0 / 343.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.03269, allocations: 0 / 343.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.03272, allocations: 0 / 343.4 MB, free: 5.34 MB / 314.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.00181/0.03453, allocations: 1.327 MB / 344.7 MB, free: 3.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.03457, allocations: 15.98 kB / 344.7 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005622/0.03513, allocations: 200.7 kB / 344.9 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009445/0.03607, allocations: 0.7098 MB / 345.6 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.03611, allocations: 58 kB / 345.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.03622, allocations: 91.94 kB / 345.8 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007483/0.03696, allocations: 0.7747 MB / 346.5 MB, free: 2.031 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.03699, allocations: 3.984 kB / 346.5 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/0.03704, allocations: 35.98 kB / 346.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.03717, allocations: 85.89 kB / 346.7 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004827/0.03765, allocations: 344.4 kB / 347 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.04102, allocations: 3.633 MB / 350.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.04145, allocations: 336.9 kB / 351 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.04164, allocations: 135.2 kB / 351.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.04169, allocations: 8.5 kB / 351.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.04202, allocations: 271.5 kB / 351.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 1.824e-06/0.04202, allocations: 0 / 351.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.001964/0.04398, allocations: 1.115 MB / 352.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.04403, allocations: 111.5 kB / 352.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.04448, allocations: 0.6261 MB / 353.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.04452, allocations: 41.7 kB / 353.2 MB, free: 11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.04471, allocations: 449.1 kB / 353.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.04484, allocations: 249.8 kB / 353.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.04502, allocations: 182.5 kB / 354.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.04514, allocations: 394.6 kB / 354.5 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.04529, allocations: 116.7 kB / 354.6 MB, free: 9.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.04558, allocations: 411.4 kB / 355 MB, free: 9.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.04612, allocations: 0.5895 MB / 355.6 MB, free: 8.371 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.04613, allocations: 0 / 355.6 MB, free: 8.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001173/0.0473, allocations: 0.7991 MB / 356.4 MB, free: 7.555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.04732, allocations: 8 kB / 356.4 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.04734, allocations: 12 kB / 356.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009071/0.04824, allocations: 399.4 kB / 356.8 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.04862, allocations: 179.7 kB / 357 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/0.05266, allocations: 4.171 MB / 361.2 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.05304, allocations: 35.98 kB / 361.2 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.05309, allocations: 28 kB / 361.2 MB, free: 2.531 MB / 330.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.0002518/0.05334, allocations: 176.4 kB / 361.4 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-05/0.05343, allocations: 67.88 kB / 361.5 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006676/0.05409, allocations: 0.4931 MB / 361.9 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.0541, allocations: 8 kB / 362 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.0541, allocations: 4 kB / 362 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.05411, allocations: 3.984 kB / 362 MB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.05549, allocations: 1.039 MB / 363 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.05549, allocations: 3.938 kB / 363 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.05591, allocations: 139.9 kB / 363.1 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002611/0.05618, allocations: 118.9 kB / 363.3 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/0.05623, allocations: 27.92 kB / 363.3 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.05831, allocations: 3.797 MB / 367.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.05831, allocations: 8.062 kB / 367.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007927/0.0591, allocations: 0.7253 MB / 367.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.05926, allocations: 115.3 kB / 367.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.05932, allocations: 20 kB / 368 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.05951, allocations: 16 kB / 368 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.05962, allocations: 56.33 kB / 368 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.05965, allocations: 19.98 kB / 368 MB, free: 11.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.05987, allocations: 260.5 kB / 368.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.05987, allocations: 0 / 368.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007939/0.06066, allocations: 275.9 kB / 368.6 MB, free: 10.76 MB / 346.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.001294/0.06196, allocations: 0.5913 MB / 369.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.0631, allocations: 0.8656 MB / 370 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-05/0.06312, allocations: 12.5 kB / 370 MB, free: 9.562 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.06365, allocations: 0.6065 MB / 370.6 MB, free: 8.914 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.06423, allocations: 201.2 kB / 370.8 MB, free: 8.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.06688, allocations: 1.915 MB / 372.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.06712, allocations: 272.6 kB / 373 MB, free: 6.465 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.06746, allocations: 119 kB / 373.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.06779, allocations: 225.2 kB / 373.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.06779, allocations: 0 / 373.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of Templates: time 0.01997/0.08776, allocations: 15 MB / 388.4 MB, free: 7.348 MB / 362.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4141707131639123]