Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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.0008046/0.0008046, allocations: 87.62 kB / 21.44 MB, free: 3.125 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.003578/0.003578, allocations: 158.7 kB / 24.7 MB, free: 8.91 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.8291/0.8291, allocations: 177.1 MB / 205 MB, free: 5.734 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.2176/0.2176, allocations: 29.41 MB / 290.8 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.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.824e-05, allocations: 2.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.006202/0.00622, allocations: 7.046 MB / 438.5 MB, free: 6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005568/0.01179, allocations: 4.993 MB / 443.5 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003972/0.01218, allocations: 39.69 kB / 443.6 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1678/0.1799, allocations: 6.552 MB / 450.1 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.1814, allocations: 0.7611 MB / 450.9 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007778/0.1821, allocations: 0.5549 MB / 451.4 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.1836, allocations: 2.784 MB / 454.2 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007311/0.1843, allocations: 1.145 MB / 455.4 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006525/0.185, allocations: 1.066 MB / 456.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005753/0.1856, allocations: 0.887 MB / 457.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.1857, allocations: 148.8 kB / 457.5 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005829/0.1863, allocations: 0.7038 MB / 458.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.1866, allocations: 0.6865 MB / 458.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.1869, allocations: 0.5295 MB / 459.4 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.1881, allocations: 2.37 MB / 461.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1881, allocations: 0 / 461.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1881, allocations: 2.875 kB / 461.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1882, allocations: 0 / 461.7 MB, free: 41.58 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.002006/0.1902, allocations: 1.92 MB / 463.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1902, allocations: 13.3 kB / 463.7 MB, free: 40.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004486/0.1906, allocations: 223.5 kB / 463.9 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.1917, allocations: 0.9721 MB / 464.9 MB, free: 39.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.1918, allocations: 340.6 kB / 465.2 MB, free: 39.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.1919, allocations: 116.1 kB / 465.3 MB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.1935, allocations: 1.893 MB / 467.2 MB, free: 38.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.1935, allocations: 0 / 467.2 MB, free: 38.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/0.1936, allocations: 44.92 kB / 467.3 MB, free: 38.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.1937, allocations: 130.3 kB / 467.4 MB, free: 38.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.1952, allocations: 1.595 MB / 469 MB, free: 38.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/0.1991, allocations: 5.2 MB / 474.2 MB, free: 35.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.2003, allocations: 1.037 MB / 475.2 MB, free: 34.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/0.201, allocations: 0.6756 MB / 475.9 MB, free: 34.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.2011, allocations: 13.11 kB / 475.9 MB, free: 34.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000923/0.202, allocations: 0.9761 MB / 476.9 MB, free: 34.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 2.395e-06/0.202, allocations: 4 kB / 476.9 MB, free: 34.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=119): time 0.005683/0.2077, allocations: 4.308 MB / 481.2 MB, free: 32.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.2078, allocations: 131 kB / 481.3 MB, free: 32.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006268/0.2084, allocations: 0.7056 MB / 482 MB, free: 32.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.98e-05/0.2084, allocations: 59.86 kB / 482.1 MB, free: 32.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.2087, allocations: 0.5272 MB / 482.6 MB, free: 31.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.2089, allocations: 419.3 kB / 483 MB, free: 31.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.2091, allocations: 250 kB / 483.3 MB, free: 31.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.2092, allocations: 414 kB / 483.7 MB, free: 30.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007276/0.2099, allocations: 0.7399 MB / 484.4 MB, free: 30.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008082/0.2107, allocations: 1.037 MB / 485.4 MB, free: 29.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.2122, allocations: 1.681 MB / 487.1 MB, free: 29.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2122, allocations: 1.406 kB / 487.1 MB, free: 29.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002506/0.2147, allocations: 2.271 MB / 489.4 MB, free: 28.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.2148, allocations: 59.02 kB / 489.5 MB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.2148, allocations: 10.34 kB / 489.5 MB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007878/0.2156, allocations: 413.5 kB / 489.9 MB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.216, allocations: 216.5 kB / 490.1 MB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004581/0.2206, allocations: 5.908 MB / 496 MB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.2211, allocations: 106.4 kB / 496.1 MB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.2212, allocations: 91.33 kB / 496.2 MB, free: 24.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 1 * 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 {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0004913/0.2217, allocations: 455 kB / 496.6 MB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.2218, allocations: 104.7 kB / 496.7 MB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.2241, allocations: 1.793 MB / 498.5 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.2241, allocations: 29.45 kB / 498.5 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2241, allocations: 6.062 kB / 498.6 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.2242, allocations: 6.359 kB / 498.6 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/0.2276, allocations: 2.974 MB / 0.4898 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.2276, allocations: 3.125 kB / 0.4898 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.2281, allocations: 172.4 kB / 0.4899 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/0.2284, allocations: 162.9 kB / 0.4901 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/0.2284, allocations: 38.3 kB / 0.4901 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.2301, allocations: 4.408 MB / 0.4944 GB, free: 17.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2301, allocations: 9.375 kB / 0.4945 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.2329, allocations: 2.727 MB / 0.4971 GB, free: 16.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.2332, allocations: 229.5 kB / 0.4973 GB, free: 16.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.2333, allocations: 90.05 kB / 0.4974 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.2337, allocations: 112 kB / 0.4975 GB, free: 16.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.2339, allocations: 87.78 kB / 0.4976 GB, free: 16.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.2339, allocations: 37.11 kB / 0.4976 GB, free: 16.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003745/0.2343, allocations: 482.2 kB / 0.4981 GB, free: 16.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2343, allocations: 0 / 0.4981 GB, free: 16.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008897/0.2352, allocations: 375.5 kB / 0.4985 GB, free: 16.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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: 17 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0009958/0.2362, allocations: 0.6006 MB / 0.499 GB, free: 16.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002018/0.2382, allocations: 2.161 MB / 0.5012 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2382, allocations: 3.469 kB / 0.5012 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009768/0.2392, allocations: 1.158 MB / 0.5023 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.2398, allocations: 209.7 kB / 0.5025 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.2425, allocations: 3.238 MB / 0.5057 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.2429, allocations: 0.6785 MB / 0.5063 GB, free: 9.609 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.2431, allocations: 92.45 kB / 0.5064 GB, free: 9.52 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2431, allocations: 8 kB / 0.5064 GB, free: 9.512 MB / 410.7 MB Notification: Performance of Templates: time 0.01942/0.2625, allocations: 30.12 MB / 0.5358 GB, free: 11.43 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.156835253350437] Failed to read output from testmodel.py, exit status != 0: 0.26776960026472807 0.27569154299999993 0.085941477 Calling exit ...