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.001004/0.001004, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001029/0.001029, allocations: 168.3 kB / 25.61 MB, free: 8.586 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 0.9184/0.9184, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.1168/0.1168, allocations: 29.41 MB / 292 MB, free: 2.637 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.192e-06/1.192e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.538e-06/1.073e-05, allocations: 6.953 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.004517/0.004528, allocations: 6.667 MB / 377.5 MB, free: 25.63 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005595/0.01012, allocations: 5.032 MB / 382.6 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005024/0.01063, allocations: 39.69 kB / 382.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007885/0.01851, allocations: 6.498 MB / 389.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008954/0.01941, allocations: 0.5709 MB / 389.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008989/0.02031, allocations: 0.5104 MB / 390.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002027/0.02233, allocations: 2.448 MB / 392.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006953/0.02303, allocations: 0.8845 MB / 393.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.02416, allocations: 0.8689 MB / 394.4 MB, free: 8.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006731/0.02483, allocations: 0.6817 MB / 395.1 MB, free: 8.035 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.02495, allocations: 100 kB / 395.2 MB, free: 7.938 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.02539, allocations: 307.5 kB / 395.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.0257, allocations: 0.5182 MB / 396 MB, free: 7.117 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.02601, allocations: 407.1 kB / 396.4 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009448/0.02695, allocations: 1.098 MB / 397.5 MB, free: 5.617 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.02695, allocations: 4 kB / 397.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.02695, allocations: 0 / 397.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.02697, allocations: 0 / 397.5 MB, free: 5.613 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.001681/0.02865, allocations: 1.487 MB / 399 MB, free: 4.082 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.02867, allocations: 12.03 kB / 399 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005821/0.02926, allocations: 244 kB / 399.2 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009413/0.0302, allocations: 0.8219 MB / 400.1 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.03023, allocations: 69.92 kB / 400.1 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.03035, allocations: 87.94 kB / 400.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007569/0.0311, allocations: 0.8183 MB / 401 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.03113, allocations: 0 / 401 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.205e-05/0.03119, allocations: 32 kB / 401.1 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.03133, allocations: 85.95 kB / 401.1 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.03184, allocations: 365.4 kB / 401.5 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004017/0.03586, allocations: 4.831 MB / 406.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.03631, allocations: 308.8 kB / 406.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.03654, allocations: 140.9 kB / 406.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.03658, allocations: 20.48 kB / 406.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/0.03693, allocations: 280.1 kB / 407.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 1.893e-06/0.03693, allocations: 0 / 407.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002192/0.03912, allocations: 1.22 MB / 408.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.03917, allocations: 111.5 kB / 408.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005894/0.03976, allocations: 0.7096 MB / 409.1 MB, free: 9.484 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.0398, allocations: 33.7 kB / 409.1 MB, free: 9.445 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.04012, allocations: 0.5806 MB / 409.7 MB, free: 8.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.04029, allocations: 249.9 kB / 410 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.04052, allocations: 196.1 kB / 410.2 MB, free: 8.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.04073, allocations: 0.5897 MB / 410.7 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.04093, allocations: 113.9 kB / 410.9 MB, free: 7.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.04138, allocations: 0.55 MB / 411.4 MB, free: 6.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.04205, allocations: 0.6947 MB / 412.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.04205, allocations: 4 kB / 412.1 MB, free: 6.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001564/0.04362, allocations: 0.9559 MB / 413.1 MB, free: 5.133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.04363, allocations: 8 kB / 413.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.04365, allocations: 8 kB / 413.1 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.04475, allocations: 423.8 kB / 413.5 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.04516, allocations: 159.7 kB / 413.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005238/0.0504, allocations: 5.37 MB / 419 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.05076, allocations: 35.95 kB / 419 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/0.05082, allocations: 31.98 kB / 419.1 MB, free: 14.88 MB / 346.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.0002133/0.05103, allocations: 220.4 kB / 419.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.05116, allocations: 107.4 kB / 419.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008931/0.05205, allocations: 0.5789 MB / 420 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.05206, allocations: 8 kB / 420 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.05206, allocations: 0 / 420 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.05207, allocations: 11.97 kB / 420 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.05409, allocations: 1.217 MB / 421.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.0541, allocations: 4 kB / 421.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.05456, allocations: 119.9 kB / 421.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.05487, allocations: 118.9 kB / 421.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.05492, allocations: 27.92 kB / 421.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.05782, allocations: 5.382 MB / 426.9 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.05783, allocations: 8.062 kB / 426.9 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.05915, allocations: 0.8546 MB / 427.7 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.05936, allocations: 127.3 kB / 427.8 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.281e-05/0.05946, allocations: 20 kB / 427.9 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.05973, allocations: 19.98 kB / 427.9 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.05983, allocations: 56.34 kB / 427.9 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.05987, allocations: 19.98 kB / 428 MB, free: 5.484 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003086/0.06018, allocations: 394.8 kB / 428.3 MB, free: 5.105 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.06018, allocations: 0 / 428.3 MB, free: 5.105 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007707/0.06095, allocations: 279.9 kB / 428.6 MB, free: 4.832 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.001022/0.06197, allocations: 474.1 kB / 429.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.06326, allocations: 1.036 MB / 430.1 MB, free: 3.488 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.06327, allocations: 0 / 430.1 MB, free: 3.488 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006801/0.06395, allocations: 0.7709 MB / 430.9 MB, free: 2.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000697/0.06464, allocations: 193.9 kB / 431.1 MB, free: 2.473 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.06774, allocations: 2.16 MB / 433.2 MB, free: 264 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.068, allocations: 284.6 kB / 433.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000354/0.06835, allocations: 122.9 kB / 433.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.06873, allocations: 250.1 kB / 433.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.06873, allocations: 0 / 433.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Templates: time 0.01703/0.08576, allocations: 15.19 MB / 449.1 MB, free: 0.6172 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4094816357828677]