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.001316/0.001316, allocations: 118.5 kB / 18.41 MB, free: 4.688 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.00134/0.00134, allocations: 189.3 kB / 21.35 MB, free: 1.75 MB / 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.405/1.405, allocations: 222.9 MB / 247 MB, free: 4.207 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.2929/0.2929, allocations: 38 MB / 337.2 MB, free: 12.9 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.001999/0.001999, allocations: 68.59 kB / 467.5 MB, free: 27.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1178, allocations: 58.07 MB / 0.5133 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01028/0.1281, allocations: 7.108 MB / 0.5202 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.1384, allocations: 5.09 MB / 0.5252 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008927/0.1394, allocations: 27.88 kB / 0.5252 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01209/0.1515, allocations: 5.707 MB / 0.5308 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.1533, allocations: 0.5092 MB / 0.5313 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.1549, allocations: 495 kB / 0.5318 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004089/0.159, allocations: 2.257 MB / 0.534 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.1606, allocations: 0.9274 MB / 0.5349 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.1619, allocations: 0.6072 MB / 0.5355 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.1632, allocations: 0.7163 MB / 0.5362 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.1634, allocations: 100 kB / 0.5363 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006472/0.164, allocations: 263.7 kB / 0.5365 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005628/0.1646, allocations: 498.8 kB / 0.537 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007475/0.1654, allocations: 0.5792 MB / 0.5376 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.1679, allocations: 1.553 MB / 0.5391 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1679, allocations: 0 / 0.5391 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1679, allocations: 0 / 0.5391 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.018e-05/0.1679, allocations: 0 / 0.5391 GB, free: 15.32 MB / 414.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.004088/0.172, allocations: 1.489 MB / 0.5405 GB, free: 13.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.1721, allocations: 11.89 kB / 0.5405 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007358/0.1728, allocations: 152.1 kB / 0.5407 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.1749, allocations: 0.9217 MB / 0.5416 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/0.175, allocations: 58 kB / 0.5416 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.1752, allocations: 87.98 kB / 0.5417 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.1772, allocations: 1.235 MB / 0.5429 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.1772, allocations: 7.891 kB / 0.5429 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.1774, allocations: 36 kB / 0.543 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000239/0.1776, allocations: 85.94 kB / 0.543 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.1794, allocations: 1.007 MB / 0.544 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007704/0.1871, allocations: 4.902 MB / 0.5488 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1882, allocations: 0.6526 MB / 0.5495 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006417/0.1889, allocations: 367.4 kB / 0.5498 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.916e-05/0.1889, allocations: 4.562 kB / 0.5498 GB, free: 3.891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007458/0.1897, allocations: 449.8 kB / 0.5502 GB, free: 3.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.414e-06/0.1897, allocations: 0 / 0.5502 GB, free: 3.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.005299/0.195, allocations: 2.742 MB / 0.5529 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.1951, allocations: 115.4 kB / 0.553 GB, free: 432 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.1962, allocations: 0.7545 MB / 0.5538 GB, free: 15.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.1963, allocations: 41.7 kB / 0.5538 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004496/0.1968, allocations: 0.5077 MB / 0.5543 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.197, allocations: 241.9 kB / 0.5545 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/0.1974, allocations: 190.5 kB / 0.5547 GB, free: 14.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.1976, allocations: 398.7 kB / 0.5551 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006417/0.1983, allocations: 373.8 kB / 0.5554 GB, free: 13.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009265/0.1992, allocations: 0.65 MB / 0.5561 GB, free: 13.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.2008, allocations: 1.053 MB / 0.5571 GB, free: 11.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.2008, allocations: 4 kB / 0.5571 GB, free: 11.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003268/0.2041, allocations: 1.635 MB / 0.5587 GB, free: 10.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.2041, allocations: 8 kB / 0.5587 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.2042, allocations: 8 kB / 0.5587 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/0.2058, allocations: 493.8 kB / 0.5592 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.2064, allocations: 163.7 kB / 0.5594 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.2172, allocations: 7.098 MB / 0.5663 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/0.218, allocations: 51.97 kB / 0.5663 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/0.2181, allocations: 47.92 kB / 0.5664 GB, free: 2.133 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.000639/0.2188, allocations: 349.4 kB / 0.5667 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.2189, allocations: 91.39 kB / 0.5668 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.221, allocations: 1.11 MB / 0.5679 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.221, allocations: 8 kB / 0.5679 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.221, allocations: 0 / 0.5679 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.221, allocations: 11.98 kB / 0.5679 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.2247, allocations: 2.107 MB / 0.57 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.2248, allocations: 4 kB / 0.57 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007504/0.2255, allocations: 127.9 kB / 0.5701 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005473/0.2261, allocations: 158.4 kB / 0.5702 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.265e-05/0.2262, allocations: 23.98 kB / 0.5703 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004923/0.2311, allocations: 4.809 MB / 0.575 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2311, allocations: 3.938 kB / 0.575 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.2338, allocations: 1.539 MB / 0.5765 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.2342, allocations: 216.5 kB / 0.5767 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.2343, allocations: 20 kB / 0.5767 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/0.2347, allocations: 27.97 kB / 0.5767 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.2349, allocations: 60.42 kB / 0.5768 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.235, allocations: 23.98 kB / 0.5768 GB, free: 6.758 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007272/0.2357, allocations: 0.5068 MB / 0.5773 GB, free: 6.258 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2357, allocations: 0 / 0.5773 GB, free: 6.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001063/0.2368, allocations: 267.9 kB / 0.5775 GB, free: 5.996 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.001526/0.2383, allocations: 439 kB / 0.578 GB, free: 5.719 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002695/0.241, allocations: 1.334 MB / 0.5793 GB, free: 4.363 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2411, allocations: 448 / 0.5793 GB, free: 4.363 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.2424, allocations: 0.7844 MB / 0.58 GB, free: 3.539 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.2436, allocations: 208 kB / 0.5802 GB, free: 3.336 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.2488, allocations: 2.793 MB / 0.583 GB, free: 500 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.22/0.4688, allocations: 1.139 MB / 0.5841 GB, free: 65.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.4692, allocations: 76.61 kB / 0.5841 GB, free: 65.01 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4692, allocations: 0 / 0.5841 GB, free: 65.01 MB / 446.1 MB Notification: Performance of Templates: time 0.02776/0.497, allocations: 22.9 MB / 0.6065 GB, free: 56.71 MB / 446.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: 10.324325591907836] Failed to read output from testmodel.py, exit status != 0: 0.5029647180344909 0.5108645 0.341230109 Calling exit ...