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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.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.1801/0.1801, allocations: 38.5 MB / 344.4 MB, free: 2.512 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001978/0.001978, allocations: 67.89 kB / 482 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3619, allocations: 61.25 MB / 0.5306 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.007255/0.3691, allocations: 7.287 MB / 0.5377 GB, free: 324 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008786/0.3779, allocations: 5.13 MB / 0.5427 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.379, allocations: 28 kB / 0.5427 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01276/0.3917, allocations: 6.03 MB / 0.5486 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.394, allocations: 0.5151 MB / 0.5491 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.3959, allocations: 0.4911 MB / 0.5496 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004336/0.4002, allocations: 2.315 MB / 0.5518 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.4019, allocations: 0.7634 MB / 0.5526 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.4034, allocations: 0.6111 MB / 0.5532 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.405, allocations: 0.7746 MB / 0.5539 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004391/0.4054, allocations: 100 kB / 0.554 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.4064, allocations: 267.8 kB / 0.5543 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008279/0.4072, allocations: 0.5025 MB / 0.5548 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.4086, allocations: 0.5754 MB / 0.5553 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002637/0.4112, allocations: 1.557 MB / 0.5569 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4112, allocations: 0 / 0.5569 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4112, allocations: 0 / 0.5569 GB, free: 1.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.73e-05/0.4113, allocations: 0 / 0.5569 GB, free: 1.645 MB / 398.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.004001/0.4153, allocations: 1.482 MB / 0.5583 GB, free: 108 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4154, allocations: 11.89 kB / 0.5583 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008049/0.4162, allocations: 156.2 kB / 0.5585 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.4181, allocations: 0.9178 MB / 0.5594 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.4181, allocations: 61.98 kB / 0.5594 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.4183, allocations: 80 kB / 0.5595 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.4202, allocations: 1.235 MB / 0.5607 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.4203, allocations: 7.891 kB / 0.5607 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.868e-05/0.4204, allocations: 32 kB / 0.5608 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002343/0.4206, allocations: 89.94 kB / 0.5608 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.4222, allocations: 1.007 MB / 0.5618 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006944/0.4292, allocations: 4.906 MB / 0.5666 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009994/0.4302, allocations: 0.6176 MB / 0.5672 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/0.4307, allocations: 335.3 kB / 0.5675 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.213e-05/0.4308, allocations: 12.55 kB / 0.5675 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007013/0.4315, allocations: 441.8 kB / 0.568 GB, free: 5.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.144e-06/0.4315, allocations: 0 / 0.568 GB, free: 5.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.005092/0.4366, allocations: 2.749 MB / 0.5707 GB, free: 2.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.4367, allocations: 115.4 kB / 0.5708 GB, free: 2.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.4377, allocations: 0.7468 MB / 0.5715 GB, free: 2.051 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.4378, allocations: 41.7 kB / 0.5715 GB, free: 2.004 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.4382, allocations: 0.5077 MB / 0.572 GB, free: 1.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.4384, allocations: 241.9 kB / 0.5723 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.4387, allocations: 186.5 kB / 0.5724 GB, free: 1.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002491/0.439, allocations: 398.7 kB / 0.5728 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000614/0.4396, allocations: 385.7 kB / 0.5732 GB, free: 296 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008637/0.4405, allocations: 0.65 MB / 0.5738 GB, free: 15.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.442, allocations: 1.057 MB / 0.5749 GB, free: 14.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.442, allocations: 4 kB / 0.5749 GB, free: 14.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003117/0.4451, allocations: 1.611 MB / 0.5764 GB, free: 12.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.4451, allocations: 12.5 kB / 0.5764 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.4451, allocations: 12 kB / 0.5765 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.4467, allocations: 489.3 kB / 0.5769 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/0.4473, allocations: 163.7 kB / 0.5771 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.4576, allocations: 7.095 MB / 0.584 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.4583, allocations: 51.98 kB / 0.5841 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/0.4584, allocations: 51.98 kB / 0.5841 GB, free: 4.539 MB / 430.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.00058/0.459, allocations: 349.5 kB / 0.5844 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.4591, allocations: 87.44 kB / 0.5845 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.4612, allocations: 1.106 MB / 0.5856 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.4612, allocations: 8 kB / 0.5856 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4612, allocations: 4 kB / 0.5856 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.4612, allocations: 3.984 kB / 0.5856 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/0.4652, allocations: 2.111 MB / 0.5877 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4652, allocations: 0 / 0.5877 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007341/0.466, allocations: 123.8 kB / 0.5878 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005431/0.4665, allocations: 162.5 kB / 0.588 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/0.4666, allocations: 19.98 kB / 0.588 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005162/0.4717, allocations: 4.809 MB / 0.5927 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4717, allocations: 4.031 kB / 0.5927 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.4744, allocations: 1.531 MB / 0.5942 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.4748, allocations: 224.4 kB / 0.5944 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.4749, allocations: 16 kB / 0.5944 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.4753, allocations: 31.97 kB / 0.5944 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.4755, allocations: 56.36 kB / 0.5945 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/0.4756, allocations: 23.98 kB / 0.5945 GB, free: 9.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008119/0.4764, allocations: 0.5107 MB / 0.595 GB, free: 8.676 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4764, allocations: 0 / 0.595 GB, free: 8.676 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00121/0.4776, allocations: 271.9 kB / 0.5953 GB, free: 8.41 MB / 446.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.001481/0.4791, allocations: 428.9 kB / 0.5957 GB, free: 8.133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.4819, allocations: 1.282 MB / 0.5969 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4819, allocations: 5.438 kB / 0.5969 GB, free: 6.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.4832, allocations: 0.7728 MB / 0.5977 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.4845, allocations: 212.7 kB / 0.5979 GB, free: 5.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/0.4892, allocations: 2.717 MB / 0.6005 GB, free: 3.043 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009385/0.4902, allocations: 1.155 MB / 0.6017 GB, free: 1.863 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007363/0.4909, allocations: 223.3 kB / 0.6019 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.4911, allocations: 63.42 kB / 0.6019 GB, free: 1.578 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4911, allocations: 0 / 0.6019 GB, free: 1.578 MB / 446.1 MB Notification: Performance of Templates: time 0.02824/0.5193, allocations: 15.31 MB / 0.6169 GB, free: 2.375 MB / 462.1 MB " [Timeout remaining time 659] 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.376385224983096]