Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.001043/0.001043, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009867/0.0009867, allocations: 161 kB / 24.56 MB, free: 20 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 0.9969/0.9969, allocations: 177.2 MB / 205 MB, free: 5.293 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.2257/0.2257, allocations: 29.41 MB / 290.9 MB, free: 2.484 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.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.778e-05, allocations: 5.406 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.005323/0.005341, allocations: 5.826 MB / 375.5 MB, free: 5.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003289/0.008629, allocations: 2.403 MB / 377.9 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003706/0.009, allocations: 35.69 kB / 377.9 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007071/0.009707, allocations: 242.4 kB / 378.1 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009869/0.01069, allocations: 0.5984 MB / 378.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.01162, allocations: 0.5221 MB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.01321, allocations: 1.957 MB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006625/0.01387, allocations: 0.5644 MB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.01517, allocations: 1.033 MB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.01624, allocations: 0.9784 MB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.01652, allocations: 160 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008648/0.01739, allocations: 0.6513 MB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004685/0.01785, allocations: 0.6821 MB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004541/0.01831, allocations: 0.5107 MB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.0198, allocations: 1.558 MB / 387.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.0198, allocations: 0 / 387.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.0198, allocations: 0 / 387.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.01982, allocations: 0 / 387.3 MB, free: 9.234 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002563/0.02238, allocations: 1.912 MB / 389.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.02242, allocations: 15.98 kB / 389.3 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006652/0.02308, allocations: 319.9 kB / 389.6 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.02434, allocations: 0.8937 MB / 390.5 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004786/0.02482, allocations: 1.09 MB / 391.6 MB, free: 4.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.025, allocations: 104.5 kB / 391.7 MB, free: 4.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.02645, allocations: 1.133 MB / 392.8 MB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.02648, allocations: 3.938 kB / 392.8 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.589e-05/0.02656, allocations: 39.98 kB / 392.8 MB, free: 3.359 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.02668, allocations: 89.94 kB / 392.9 MB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.02792, allocations: 0.7806 MB / 393.7 MB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.03273, allocations: 4.578 MB / 398.3 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.03393, allocations: 0.7079 MB / 399 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005772/0.03451, allocations: 398.2 kB / 399.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.338e-05/0.03458, allocations: 21 kB / 399.4 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008317/0.03541, allocations: 0.6998 MB / 400.1 MB, free: 11.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=123): time 2.174e-06/0.03541, allocations: 0 / 400.1 MB, free: 11.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.003602/0.03902, allocations: 2.458 MB / 402.6 MB, free: 9.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.03907, allocations: 114.1 kB / 402.7 MB, free: 9.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.03941, allocations: 458.5 kB / 403.1 MB, free: 8.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/0.03949, allocations: 57.7 kB / 403.2 MB, free: 8.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.03969, allocations: 420.2 kB / 403.6 MB, free: 8.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.03994, allocations: 440.3 kB / 404 MB, free: 7.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/0.04023, allocations: 228.5 kB / 404.2 MB, free: 7.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.04041, allocations: 0.5781 MB / 404.8 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005563/0.04097, allocations: 424.1 kB / 405.2 MB, free: 6.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.0416, allocations: 0.6128 MB / 405.9 MB, free: 6.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.04267, allocations: 0.8924 MB / 406.7 MB, free: 5.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.04268, allocations: 0 / 406.7 MB, free: 5.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003643/0.04632, allocations: 2.101 MB / 408.8 MB, free: 2.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/0.04637, allocations: 57.67 kB / 408.9 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.04638, allocations: 4 kB / 408.9 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003748/0.05012, allocations: 1.913 MB / 410.8 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.05057, allocations: 203.7 kB / 411 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006411/0.05698, allocations: 4.233 MB / 415.3 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.05746, allocations: 131.8 kB / 415.4 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.05757, allocations: 75.94 kB / 415.5 MB, free: 12.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 (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],system.initime,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0002613/0.05783, allocations: 236.4 kB / 415.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.05801, allocations: 123.5 kB / 415.8 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.05941, allocations: 1.081 MB / 416.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.05944, allocations: 31.91 kB / 416.9 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.05944, allocations: 4 kB / 416.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.05945, allocations: 3.984 kB / 416.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.06217, allocations: 2.156 MB / 419.1 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.06218, allocations: 4 kB / 419.1 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003664/0.06584, allocations: 1.354 MB / 420.4 MB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.06585, allocations: 4 kB / 420.4 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/0.06592, allocations: 44.02 kB / 420.5 MB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.06593, allocations: 8 kB / 420.5 MB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.06593, allocations: 7.938 kB / 420.5 MB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.06804, allocations: 1.656 MB / 422.2 MB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.06839, allocations: 243.3 kB / 422.4 MB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.06852, allocations: 83.94 kB / 422.5 MB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.06899, allocations: 127.8 kB / 422.6 MB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.06927, allocations: 220.5 kB / 422.8 MB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/0.06934, allocations: 39.97 kB / 422.9 MB, free: 4.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.06952, allocations: 283.1 kB / 423.1 MB, free: 4.371 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06952, allocations: 4 kB / 423.1 MB, free: 4.367 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006239/0.07015, allocations: 355.9 kB / 423.5 MB, free: 4.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,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]) * 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 (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002771/0.07042, allocations: 212.9 kB / 423.7 MB, free: 3.797 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.07246, allocations: 1.579 MB / 425.3 MB, free: 2.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.07247, allocations: 0 / 425.3 MB, free: 2.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.07414, allocations: 0.832 MB / 426.1 MB, free: 1.348 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.07472, allocations: 190.9 kB / 426.3 MB, free: 1.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.07854, allocations: 2.574 MB / 428.9 MB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.07874, allocations: 281.9 kB / 429.1 MB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.07919, allocations: 218.5 kB / 429.4 MB, free: 14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.07947, allocations: 68.48 kB / 429.4 MB, free: 13.93 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.07947, allocations: 0 / 429.4 MB, free: 13.93 MB / 410.7 MB Notification: Performance of Templates: time 0.1454/0.2248, allocations: 22.79 MB / 452.2 MB, free: 98.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.981547116301954]