Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.00141/0.00141, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001514/0.001514, allocations: 161.7 kB / 24.26 MB, free: 172 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.5/1.5, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3286/0.3286, allocations: 29.42 MB / 290.5 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.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.826e-05, allocations: 9.406 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.00935/0.009378, allocations: 5.713 MB / 374.6 MB, free: 5.555 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.01296, allocations: 1.512 MB / 376.1 MB, free: 4.039 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006098/0.01357, allocations: 35.69 kB / 376.1 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007161/0.01429, allocations: 138.8 kB / 376.3 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.01553, allocations: 381.8 kB / 376.7 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008934/0.01642, allocations: 319.4 kB / 377 MB, free: 3.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001992/0.01841, allocations: 1.356 MB / 378.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005463/0.01896, allocations: 225.2 kB / 378.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.02107, allocations: 0.7248 MB / 379.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.02234, allocations: 0.5222 MB / 379.8 MB, free: 356 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.02255, allocations: 92 kB / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.0228, allocations: 88 kB / 380 MB, free: 176 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004622/0.02326, allocations: 367.1 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004639/0.02372, allocations: 303.4 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.02519, allocations: 1.122 MB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.02519, allocations: 0 / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02519, allocations: 0 / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.0252, allocations: 0 / 381.7 MB, free: 14.39 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002834/0.02804, allocations: 1.12 MB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.02808, allocations: 11.98 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.02841, allocations: 156.5 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.02985, allocations: 0.6202 MB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008098/0.03066, allocations: 0.7409 MB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.03081, allocations: 60.33 kB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.03336, allocations: 1.047 MB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.03338, allocations: 11.92 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-05/0.03347, allocations: 23.98 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.03349, allocations: 16 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.03649, allocations: 1.085 MB / 386.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005575/0.04206, allocations: 2.908 MB / 389.5 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.04436, allocations: 0.7184 MB / 390.3 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.04592, allocations: 0.517 MB / 390.8 MB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.754e-05/0.04598, allocations: 8.5 kB / 390.8 MB, free: 5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/0.04755, allocations: 0.6275 MB / 391.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.655e-06/0.04755, allocations: 0 / 391.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.004607/0.05216, allocations: 1.431 MB / 392.8 MB, free: 2.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.05228, allocations: 144.4 kB / 393 MB, free: 2.734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005971/0.05288, allocations: 353.6 kB / 393.3 MB, free: 2.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.091e-05/0.05297, allocations: 49.72 kB / 393.4 MB, free: 2.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.05329, allocations: 296.9 kB / 393.7 MB, free: 2.031 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.05349, allocations: 174.6 kB / 393.8 MB, free: 1.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.05374, allocations: 110.3 kB / 393.9 MB, free: 1.746 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.05396, allocations: 358.8 kB / 394.3 MB, free: 1.387 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.05517, allocations: 494.7 kB / 394.8 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.05639, allocations: 0.5855 MB / 395.4 MB, free: 272 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.05853, allocations: 0.8771 MB / 396.2 MB, free: 15.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.05853, allocations: 0 / 396.2 MB, free: 15.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003741/0.06227, allocations: 1.169 MB / 397.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.163e-05/0.06236, allocations: 53.72 kB / 397.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.06238, allocations: 7.984 kB / 397.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.06259, allocations: 28.83 kB / 397.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008179/0.07077, allocations: 1.104 MB / 398.6 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/0.08495, allocations: 5.681 MB / 404.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.08605, allocations: 107.7 kB / 404.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.08625, allocations: 43.95 kB / 404.4 MB, free: 6.809 MB / 378.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: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006806/0.08694, allocations: 255.5 kB / 404.7 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.0872, allocations: 67.66 kB / 404.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004299/0.0915, allocations: 1.01 MB / 405.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.09151, allocations: 4 kB / 405.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.09152, allocations: 4 kB / 405.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.09153, allocations: 3.984 kB / 405.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006519/0.09805, allocations: 1.906 MB / 407.7 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.09806, allocations: 4 kB / 407.7 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01015/0.1082, allocations: 1.287 MB / 409 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002069/0.1084, allocations: 32.84 kB / 409 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/0.1086, allocations: 15.98 kB / 409 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.1103, allocations: 1.256 MB / 410.3 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1103, allocations: 0 / 410.3 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006957/0.1173, allocations: 1.756 MB / 412 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.1179, allocations: 131.6 kB / 412.1 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.1181, allocations: 27.98 kB / 412.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.1191, allocations: 87.88 kB / 412.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004/0.1195, allocations: 103.8 kB / 412.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.68e-05/0.1196, allocations: 19.98 kB / 412.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004699/0.1201, allocations: 243.1 kB / 412.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1201, allocations: 0 / 412.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001163/0.1213, allocations: 187.7 kB / 412.8 MB, free: 14.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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): 1 system {(1,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.0002854/0.1215, allocations: 126.5 kB / 412.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01024/0.1318, allocations: 2.184 MB / 415.1 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1318, allocations: 0 / 415.1 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004124/0.1359, allocations: 1.057 MB / 416.2 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009407/0.1368, allocations: 140.4 kB / 416.3 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.1409, allocations: 1.533 MB / 417.8 MB, free: 9.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.1414, allocations: 329.1 kB / 418.2 MB, free: 8.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005591/0.1419, allocations: 148.5 kB / 418.3 MB, free: 8.586 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.1422, allocations: 48.48 kB / 418.3 MB, free: 8.539 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1422, allocations: 3.938 kB / 418.4 MB, free: 8.535 MB / 394.7 MB Notification: Performance of Templates: time 0.01906/0.1612, allocations: 8.525 MB / 426.9 MB, free: 104 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.091087799984962]