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.001413/0.001413, allocations: 82.5 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001438/0.001438, allocations: 163.5 kB / 23.95 MB, free: 4.172 MB / 14.72 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.541/1.541, allocations: 177.1 MB / 204.3 MB, free: 9.203 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.1809/0.1809, allocations: 29.43 MB / 290.1 MB, free: 3.297 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.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.203e-06/1.203e-06, allocations: 0 / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.57e-05, allocations: 2.281 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.009536/0.009562, allocations: 7.053 MB / 437.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009271/0.01883, allocations: 4.992 MB / 442.8 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000905/0.01974, allocations: 35.75 kB / 442.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2216/0.2413, allocations: 6.541 MB / 449.3 MB, free: 19.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.2437, allocations: 0.7611 MB / 450.1 MB, free: 19.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.2452, allocations: 0.5566 MB / 450.7 MB, free: 19.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005488/0.2507, allocations: 2.779 MB / 453.4 MB, free: 19.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002397/0.2531, allocations: 1.133 MB / 454.6 MB, free: 18.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.2554, allocations: 1.069 MB / 455.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.2569, allocations: 0.8895 MB / 456.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000277/0.2572, allocations: 148.7 kB / 456.7 MB, free: 18.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.2593, allocations: 0.7056 MB / 457.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009757/0.2603, allocations: 0.6909 MB / 458.1 MB, free: 18.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008762/0.2612, allocations: 0.5285 MB / 458.6 MB, free: 18.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003948/0.2651, allocations: 2.365 MB / 461 MB, free: 17.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.2651, allocations: 4 kB / 461 MB, free: 17.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2651, allocations: 0 / 461 MB, free: 17.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.648e-05/0.2652, allocations: 1.031 kB / 461 MB, free: 17.81 MB / 366.1 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.004416/0.2696, allocations: 1.931 MB / 462.9 MB, free: 16.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.2696, allocations: 14.14 kB / 462.9 MB, free: 16.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.2706, allocations: 215.3 kB / 463.1 MB, free: 16.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.2729, allocations: 0.9781 MB / 464.1 MB, free: 16.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.2732, allocations: 338 kB / 464.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/0.2735, allocations: 122.2 kB / 464.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003606/0.2771, allocations: 1.889 MB / 466.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.2771, allocations: 2.438 kB / 466.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.2773, allocations: 44.8 kB / 466.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003344/0.2776, allocations: 124.8 kB / 466.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.2806, allocations: 1.602 MB / 468.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007885/0.2885, allocations: 5.208 MB / 473.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.291, allocations: 1.034 MB / 474.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.2923, allocations: 0.6736 MB / 475.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.032e-05/0.2924, allocations: 22.14 kB / 475.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001671/0.2941, allocations: 0.9748 MB / 476.1 MB, free: 9.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.337e-06/0.2941, allocations: 0 / 476.1 MB, free: 9.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.009182/0.3033, allocations: 4.315 MB / 480.4 MB, free: 6.652 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.3033, allocations: 130 kB / 480.6 MB, free: 6.504 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/0.3041, allocations: 0.7034 MB / 481.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.642e-05/0.3042, allocations: 61.62 kB / 481.3 MB, free: 5.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.3045, allocations: 0.5234 MB / 481.9 MB, free: 5.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.3047, allocations: 423.3 kB / 482.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/0.3051, allocations: 253.8 kB / 482.5 MB, free: 4.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3052, allocations: 418.7 kB / 482.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008611/0.306, allocations: 0.735 MB / 483.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009684/0.307, allocations: 1.042 MB / 484.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.3087, allocations: 1.67 MB / 486.4 MB, free: 500 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3087, allocations: 4 kB / 486.4 MB, free: 496 kB / 366.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004074/0.3128, allocations: 2.275 MB / 488.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.895e-05/0.3129, allocations: 65.67 kB / 488.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.3129, allocations: 8 kB / 488.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.3143, allocations: 405.6 kB / 489.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.3152, allocations: 213.3 kB / 489.3 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008831/0.3241, allocations: 5.924 MB / 495.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.3252, allocations: 95.84 kB / 495.3 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.3254, allocations: 87.94 kB / 495.4 MB, free: 7.316 MB / 382.1 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.001156/0.3266, allocations: 461.4 kB / 495.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000367/0.3269, allocations: 99.34 kB / 496 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004615/0.3315, allocations: 1.798 MB / 497.8 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.106e-05/0.3316, allocations: 23.94 kB / 497.8 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.3316, allocations: 4 kB / 497.8 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.3316, allocations: 11.25 kB / 497.8 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006859/0.3385, allocations: 2.973 MB / 0.489 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.934e-06/0.3385, allocations: 11.06 kB / 0.4891 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.3395, allocations: 177.3 kB / 0.4892 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005645/0.3401, allocations: 156.2 kB / 0.4894 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.3402, allocations: 35.95 kB / 0.4894 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004962/0.3451, allocations: 4.412 MB / 0.4937 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3451, allocations: 3.938 kB / 0.4937 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006261/0.3514, allocations: 2.731 MB / 0.4964 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007767/0.3522, allocations: 227.2 kB / 0.4966 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/0.3525, allocations: 91.88 kB / 0.4967 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.3535, allocations: 115.5 kB / 0.4968 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/0.3537, allocations: 84.69 kB / 0.4969 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.3539, allocations: 35.97 kB / 0.4969 GB, free: 9.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007572/0.3546, allocations: 479 kB / 0.4974 GB, free: 9.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3546, allocations: 0 / 0.4974 GB, free: 9.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001652/0.3563, allocations: 382.8 kB / 0.4977 GB, free: 8.758 MB / 398.1 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.002136/0.3584, allocations: 0.592 MB / 0.4983 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004645/0.363, allocations: 2.161 MB / 0.5004 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.363, allocations: 4.125 kB / 0.5004 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002561/0.3656, allocations: 1.161 MB / 0.5016 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.3669, allocations: 201.3 kB / 0.5018 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/0.3729, allocations: 3.144 MB / 0.5048 GB, free: 1.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008827/0.3738, allocations: 0.6902 MB / 0.5055 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008527/0.3746, allocations: 279.7 kB / 0.5058 GB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.3749, allocations: 84.47 kB / 0.5058 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3749, allocations: 4 kB / 0.5059 GB, free: 0.582 MB / 398.1 MB Notification: Performance of Templates: time 0.0336/0.4085, allocations: 17.85 MB / 0.5233 GB, free: 14.98 MB / 430.1 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.831539031118155] Failed to read output from testmodel.py, exit status != 0: 0.4184533357620239 0.433817176 0.165382429 Calling exit ...