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.001436/0.001436, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001564/0.001564, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.476/1.476, allocations: 177.2 MB / 204.6 MB, free: 5.574 MB / 186.7 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.3052/0.3052, allocations: 29.42 MB / 290.5 MB, free: 2.414 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.844e-06/1.844e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.049e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01034/0.01037, allocations: 6.781 MB / 375.7 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0096/0.01997, allocations: 4.849 MB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007285/0.0207, allocations: 39.69 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01425/0.03495, allocations: 6.611 MB / 387.2 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.03668, allocations: 0.5709 MB / 387.7 MB, free: 8.359 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.03837, allocations: 0.5143 MB / 388.3 MB, free: 7.844 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00385/0.04222, allocations: 2.436 MB / 390.7 MB, free: 5.402 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.04353, allocations: 0.8768 MB / 391.6 MB, free: 4.516 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.0449, allocations: 0.8376 MB / 392.4 MB, free: 3.676 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.04604, allocations: 0.6934 MB / 393.1 MB, free: 2.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.04622, allocations: 100 kB / 393.2 MB, free: 2.883 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007352/0.04695, allocations: 303.5 kB / 393.5 MB, free: 2.586 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006071/0.04756, allocations: 0.5143 MB / 394 MB, free: 2.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000576/0.04814, allocations: 419 kB / 394.4 MB, free: 1.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.05063, allocations: 1.636 MB / 396.1 MB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.05063, allocations: 0 / 396.1 MB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.05064, allocations: 4 kB / 396.1 MB, free: 16 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.05066, allocations: 4 kB / 396.1 MB, free: 12 kB / 362.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.003318/0.05398, allocations: 1.418 MB / 397.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.05402, allocations: 11.98 kB / 397.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009929/0.05501, allocations: 276 kB / 397.8 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.05693, allocations: 0.8808 MB / 398.6 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/0.057, allocations: 65.98 kB / 398.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.05718, allocations: 87.98 kB / 398.8 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.05933, allocations: 1.252 MB / 400 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.05936, allocations: 7.891 kB / 400.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.05947, allocations: 39.97 kB / 400.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002424/0.05971, allocations: 85.95 kB / 400.2 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.06153, allocations: 0.9992 MB / 401.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007719/0.06925, allocations: 4.422 MB / 405.6 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.07036, allocations: 0.5425 MB / 406.1 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/0.07099, allocations: 327.1 kB / 406.5 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.07105, allocations: 16.48 kB / 406.5 MB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007802/0.07183, allocations: 444.8 kB / 406.9 MB, free: 4.805 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.003e-06/0.07183, allocations: 0 / 406.9 MB, free: 4.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.005308/0.07714, allocations: 2.38 MB / 409.3 MB, free: 2.383 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.07724, allocations: 107.5 kB / 409.4 MB, free: 2.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.07858, allocations: 0.719 MB / 410.1 MB, free: 1.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.306e-05/0.07865, allocations: 45.73 kB / 410.2 MB, free: 1.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005265/0.07918, allocations: 0.5155 MB / 410.7 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/0.07946, allocations: 249.9 kB / 410.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.07979, allocations: 178.5 kB / 411.1 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002848/0.08007, allocations: 394.7 kB / 411.5 MB, free: 136 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/0.08077, allocations: 377.8 kB / 411.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.08177, allocations: 0.6868 MB / 412.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.08342, allocations: 1.049 MB / 413.6 MB, free: 13.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.778e-06/0.08343, allocations: 0 / 413.6 MB, free: 13.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003471/0.0869, allocations: 1.575 MB / 415.2 MB, free: 12.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.08692, allocations: 8 kB / 415.2 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.08694, allocations: 8 kB / 415.2 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/0.089, allocations: 0.5603 MB / 415.7 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.08967, allocations: 163.7 kB / 415.9 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.1012, allocations: 6.801 MB / 422.7 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/0.102, allocations: 48.03 kB / 422.7 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.526e-05/0.1021, allocations: 44 kB / 422.8 MB, free: 4.344 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.000636/0.1027, allocations: 353.3 kB / 423.1 MB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.1029, allocations: 107.4 kB / 423.2 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.1053, allocations: 0.9572 MB / 424.2 MB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.1053, allocations: 4 kB / 424.2 MB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1053, allocations: 4 kB / 424.2 MB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.1053, allocations: 11.92 kB / 424.2 MB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/0.109, allocations: 1.76 MB / 426 MB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.109, allocations: 0 / 426 MB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/0.1098, allocations: 123.8 kB / 426.1 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006242/0.1104, allocations: 166.5 kB / 426.3 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/0.1105, allocations: 23.98 kB / 426.3 MB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005089/0.1156, allocations: 4.426 MB / 430.7 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1156, allocations: 3.938 kB / 430.7 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/0.1185, allocations: 1.398 MB / 432.1 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.1189, allocations: 131.4 kB / 432.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.119, allocations: 23.98 kB / 432.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.1195, allocations: 27.98 kB / 432.3 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.1196, allocations: 56.33 kB / 432.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.1197, allocations: 27.98 kB / 432.4 MB, free: 10.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007477/0.1204, allocations: 479 kB / 432.8 MB, free: 9.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1204, allocations: 4 kB / 432.8 MB, free: 9.852 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001139/0.1216, allocations: 279.9 kB / 433.1 MB, free: 9.578 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.002116/0.1237, allocations: 0.5093 MB / 433.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.1265, allocations: 1.281 MB / 434.9 MB, free: 7.949 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1265, allocations: 4.312 kB / 434.9 MB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.1279, allocations: 0.7643 MB / 435.7 MB, free: 7.141 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.129, allocations: 196.5 kB / 435.9 MB, free: 6.949 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.1335, allocations: 2.433 MB / 438.3 MB, free: 4.469 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009838/0.1345, allocations: 0.5489 MB / 438.8 MB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006684/0.1352, allocations: 218.8 kB / 439.1 MB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.1354, allocations: 68.48 kB / 439.1 MB, free: 3.602 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1354, allocations: 4 kB / 439.1 MB, free: 3.598 MB / 410.7 MB Notification: Performance of Templates: time 0.1633/0.2987, allocations: 14.1 MB / 453.2 MB, free: 107.5 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.323967403965071]