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.001848/0.001848, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002362/0.002362, allocations: 169.3 kB / 24.27 MB, free: 140 kB / 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 1.513/1.513, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3089/0.3089, allocations: 29.41 MB / 290.5 MB, free: 2.43 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.513e-06/1.513e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.728e-05, allocations: 6.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.01088/0.01091, allocations: 7.054 MB / 375.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009909/0.02082, allocations: 4.985 MB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008242/0.02164, allocations: 35.75 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01425/0.03589, allocations: 6.634 MB / 387.6 MB, free: 8.531 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.0383, allocations: 0.7693 MB / 388.4 MB, free: 7.758 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.04006, allocations: 0.5572 MB / 388.9 MB, free: 7.199 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005049/0.04511, allocations: 2.795 MB / 391.7 MB, free: 4.398 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.04724, allocations: 1.166 MB / 392.9 MB, free: 3.211 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.04982, allocations: 1.06 MB / 393.9 MB, free: 2.148 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.05159, allocations: 0.904 MB / 394.8 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002848/0.05188, allocations: 144 kB / 395 MB, free: 1.102 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.05355, allocations: 0.7059 MB / 395.7 MB, free: 404 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008898/0.05444, allocations: 0.6936 MB / 396.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008287/0.05527, allocations: 0.5223 MB / 396.9 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003829/0.0591, allocations: 2.372 MB / 399.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.05911, allocations: 4 kB / 399.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.05911, allocations: 0 / 399.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.654e-05/0.05916, allocations: 0 / 399.3 MB, free: 12.79 MB / 378.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.005126/0.06428, allocations: 1.93 MB / 401.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.06434, allocations: 11.98 kB / 401.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.06547, allocations: 327.8 kB / 401.5 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.06769, allocations: 1.017 MB / 402.6 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.06802, allocations: 345.3 kB / 402.9 MB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002603/0.06828, allocations: 119.9 kB / 403 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003681/0.07196, allocations: 1.876 MB / 404.9 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.072, allocations: 7.938 kB / 404.9 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.07215, allocations: 43.97 kB / 404.9 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003284/0.07248, allocations: 125.9 kB / 405.1 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00315/0.07563, allocations: 1.596 MB / 406.7 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009475/0.0851, allocations: 5.227 MB / 411.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.08778, allocations: 1.039 MB / 412.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.08938, allocations: 0.6761 MB / 413.6 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.299e-05/0.08948, allocations: 28.92 kB / 413.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002012/0.09149, allocations: 0.9689 MB / 414.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 2.775e-06/0.09149, allocations: 0 / 414.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=119): time 0.01084/0.1023, allocations: 4.35 MB / 419 MB, free: 8.664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.1025, allocations: 135.7 kB / 419.1 MB, free: 8.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.1035, allocations: 0.7073 MB / 419.8 MB, free: 7.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.1036, allocations: 49.7 kB / 419.8 MB, free: 7.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/0.1042, allocations: 0.5361 MB / 420.4 MB, free: 7.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004432/0.1046, allocations: 412.5 kB / 420.8 MB, free: 6.789 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004437/0.1051, allocations: 254.8 kB / 421 MB, free: 6.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000293/0.1054, allocations: 418.7 kB / 421.4 MB, free: 6.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.1066, allocations: 0.7311 MB / 422.2 MB, free: 5.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.1083, allocations: 1.042 MB / 423.2 MB, free: 4.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.111, allocations: 1.678 MB / 424.9 MB, free: 2.441 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.111, allocations: 4 kB / 424.9 MB, free: 2.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004878/0.1158, allocations: 2.33 MB / 427.2 MB, free: 84 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.84e-05/0.1159, allocations: 69.61 kB / 427.3 MB, free: 8 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.116, allocations: 8 kB / 427.3 MB, free: 0 / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.1176, allocations: 473.4 kB / 427.8 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008874/0.1185, allocations: 215.6 kB / 428 MB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009555/0.1281, allocations: 5.952 MB / 433.9 MB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.1293, allocations: 95.91 kB / 434 MB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.1295, allocations: 87.88 kB / 434.1 MB, free: 8.984 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.0009088/0.1304, allocations: 461.4 kB / 434.6 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/0.1308, allocations: 151.3 kB / 434.7 MB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/0.1354, allocations: 1.799 MB / 436.5 MB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.324e-05/0.1355, allocations: 23.98 kB / 436.5 MB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1355, allocations: 4 kB / 436.5 MB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.1355, allocations: 3.984 kB / 436.5 MB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007169/0.1427, allocations: 2.974 MB / 439.5 MB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.1427, allocations: 4.062 kB / 439.5 MB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.1437, allocations: 175.7 kB / 439.7 MB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006505/0.1444, allocations: 170.3 kB / 439.9 MB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.1445, allocations: 31.97 kB / 439.9 MB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1807/0.3252, allocations: 4.425 MB / 444.3 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3252, allocations: 1.031 kB / 444.3 MB, free: 108 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005254/0.3305, allocations: 2.775 MB / 447.1 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005579/0.331, allocations: 236.7 kB / 447.3 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.3312, allocations: 87.97 kB / 447.4 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008996/0.3321, allocations: 106.7 kB / 447.5 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.3324, allocations: 80.77 kB / 447.6 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/0.3325, allocations: 43.69 kB / 447.6 MB, free: 107.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005779/0.333, allocations: 476.5 kB / 448.1 MB, free: 107.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.333, allocations: 2.406 kB / 448.1 MB, free: 107.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001445/0.3345, allocations: 381.2 kB / 448.5 MB, free: 107.4 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.002299/0.3368, allocations: 0.5905 MB / 449.1 MB, free: 107.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003569/0.3404, allocations: 2.164 MB / 451.2 MB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3404, allocations: 0 / 451.2 MB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.3423, allocations: 1.16 MB / 452.4 MB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.3435, allocations: 245.9 kB / 452.6 MB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.3481, allocations: 3.166 MB / 455.8 MB, free: 104.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.3488, allocations: 0.6922 MB / 456.5 MB, free: 104 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007643/0.3495, allocations: 284.2 kB / 456.8 MB, free: 104 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.3498, allocations: 86.41 kB / 456.8 MB, free: 104 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3498, allocations: 4 kB / 456.8 MB, free: 104 MB / 410.7 MB Notification: Performance of Templates: time 0.03118/0.381, allocations: 17.95 MB / 474.8 MB, free: 102.2 MB / 410.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.830486044986174]