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.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.001847/0.001847, allocations: 112.2 kB / 19.03 MB, free: 3.258 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.00209/0.00209, allocations: 192.4 kB / 22.22 MB, free: 80 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.478/1.478, allocations: 225.6 MB / 250.8 MB, free: 13.38 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.184/0.184, allocations: 38.52 MB / 344.4 MB, free: 2.535 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.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 0.001963/0.001963, allocations: 67.89 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.333, allocations: 61.25 MB / 0.5306 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.008413/0.3414, allocations: 7.604 MB / 0.538 GB, free: 76 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009027/0.3505, allocations: 5.279 MB / 0.5431 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00078/0.3513, allocations: 31.34 kB / 0.5432 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.3627, allocations: 6.046 MB / 0.5491 GB, free: 8.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.3649, allocations: 0.7036 MB / 0.5498 GB, free: 8.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.3665, allocations: 0.5134 MB / 0.5503 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004236/0.3707, allocations: 2.695 MB / 0.5529 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.3726, allocations: 1.084 MB / 0.554 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.3743, allocations: 0.7982 MB / 0.5547 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.376, allocations: 0.993 MB / 0.5557 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003948/0.3764, allocations: 144 kB / 0.5558 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.378, allocations: 0.6905 MB / 0.5565 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008753/0.3789, allocations: 0.6624 MB / 0.5572 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.3799, allocations: 0.7544 MB / 0.5579 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003003/0.3829, allocations: 2.211 MB / 0.5601 GB, free: 14.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3829, allocations: 0 / 0.5601 GB, free: 14.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3829, allocations: 3.938 kB / 0.5601 GB, free: 14.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.648e-05/0.3829, allocations: 0 / 0.5601 GB, free: 14.35 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.004645/0.3876, allocations: 1.986 MB / 0.562 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3876, allocations: 11.89 kB / 0.562 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006907/0.3883, allocations: 191.9 kB / 0.5622 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.3904, allocations: 1.05 MB / 0.5632 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.3906, allocations: 183.1 kB / 0.5634 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.3908, allocations: 115.9 kB / 0.5635 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003358/0.3941, allocations: 1.863 MB / 0.5653 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/0.3942, allocations: 4 kB / 0.5653 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.3943, allocations: 39.98 kB / 0.5654 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00031/0.3946, allocations: 125.9 kB / 0.5655 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/0.3975, allocations: 1.608 MB / 0.5671 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008814/0.4064, allocations: 5.725 MB / 0.5727 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/0.4088, allocations: 1.125 MB / 0.5738 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.4103, allocations: 0.6721 MB / 0.5744 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-05/0.4104, allocations: 21.14 kB / 0.5744 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00182/0.4122, allocations: 0.9767 MB / 0.5754 GB, free: 14.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 2.455e-06/0.4122, allocations: 0 / 0.5754 GB, free: 14.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=119): time 0.01022/0.4224, allocations: 4.703 MB / 0.58 GB, free: 9.383 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.4225, allocations: 131.8 kB / 0.5801 GB, free: 9.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.4236, allocations: 0.7821 MB / 0.5809 GB, free: 8.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.4237, allocations: 57.69 kB / 0.5809 GB, free: 8.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/0.4242, allocations: 0.5127 MB / 0.5814 GB, free: 7.848 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.4245, allocations: 424.5 kB / 0.5818 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/0.425, allocations: 258.8 kB / 0.5821 GB, free: 7.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.4252, allocations: 418.7 kB / 0.5825 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.4263, allocations: 0.6904 MB / 0.5831 GB, free: 6.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.4276, allocations: 0.9725 MB / 0.5841 GB, free: 4.996 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.4299, allocations: 1.678 MB / 0.5857 GB, free: 3.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.4299, allocations: 4 kB / 0.5857 GB, free: 3.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004124/0.434, allocations: 2.298 MB / 0.588 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.45e-05/0.4341, allocations: 65.67 kB / 0.588 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.4341, allocations: 4 kB / 0.588 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.4355, allocations: 421.5 kB / 0.5884 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/0.4363, allocations: 215.7 kB / 0.5887 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008888/0.4452, allocations: 6.249 MB / 0.5948 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.4463, allocations: 99.83 kB / 0.5949 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.4465, allocations: 79.95 kB / 0.5949 GB, free: 9.465 MB / 446.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.0008538/0.4473, allocations: 469.3 kB / 0.5954 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.4476, allocations: 115.3 kB / 0.5955 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/0.4515, allocations: 1.95 MB / 0.5974 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.568e-05/0.4515, allocations: 23.98 kB / 0.5974 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4515, allocations: 8 kB / 0.5974 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4515, allocations: 3.984 kB / 0.5974 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006182/0.4577, allocations: 3.421 MB / 0.6008 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4577, allocations: 0 / 0.6008 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009283/0.4587, allocations: 167.8 kB / 0.6009 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005392/0.4592, allocations: 162.5 kB / 0.6011 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.4593, allocations: 39.95 kB / 0.6011 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004536/0.4638, allocations: 4.809 MB / 0.6058 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4638, allocations: 4.031 kB / 0.6058 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005603/0.4694, allocations: 2.881 MB / 0.6086 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000627/0.4701, allocations: 316.2 kB / 0.6089 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.4703, allocations: 87.94 kB / 0.609 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008746/0.4712, allocations: 111.8 kB / 0.6091 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.4714, allocations: 76.89 kB / 0.6092 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.4715, allocations: 43.91 kB / 0.6092 GB, free: 10.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007853/0.4723, allocations: 0.538 MB / 0.6098 GB, free: 9.578 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4723, allocations: 0 / 0.6098 GB, free: 9.578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001354/0.4737, allocations: 355.9 kB / 0.6101 GB, free: 9.23 MB / 462.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.001682/0.4753, allocations: 0.5185 MB / 0.6106 GB, free: 8.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00451/0.4798, allocations: 2.141 MB / 0.6127 GB, free: 6.668 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.4799, allocations: 4 kB / 0.6127 GB, free: 6.664 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002219/0.4821, allocations: 1.162 MB / 0.6138 GB, free: 5.469 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.4834, allocations: 242.2 kB / 0.6141 GB, free: 5.234 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/0.4892, allocations: 3.465 MB / 0.6175 GB, free: 1.723 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.4903, allocations: 1.281 MB / 0.6187 GB, free: 424 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008876/0.4912, allocations: 292.6 kB / 0.619 GB, free: 128 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.4915, allocations: 87.41 kB / 0.6191 GB, free: 40 kB / 462.1 MB Notification: Performance of SimCode: time 2.014e-06/0.4915, allocations: 0 / 0.6191 GB, free: 40 kB / 462.1 MB Notification: Performance of Templates: time 0.04113/0.5326, allocations: 20.14 MB / 0.6387 GB, free: 12.04 MB / 494.1 MB " [Timeout remaining time 659] 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.706072567030787]