Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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.0009701/0.0009701, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009054/0.0009054, allocations: 161.4 kB / 24.56 MB, free: 12 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.9209/0.9209, allocations: 177.1 MB / 205 MB, free: 5.617 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.228/0.228, allocations: 29.42 MB / 290.9 MB, free: 2.504 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.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.533e-05, allocations: 10.25 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.004596/0.004611, allocations: 5.319 MB / 375 MB, free: 5.664 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.006364, allocations: 1.398 MB / 376.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.006601, allocations: 35.69 kB / 376.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.006939, allocations: 138.9 kB / 376.5 MB, free: 4.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005228/0.007462, allocations: 389.7 kB / 376.9 MB, free: 3.707 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.007796, allocations: 199.5 kB / 377.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006779/0.008474, allocations: 0.9458 MB / 378 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.00868, allocations: 163.2 kB / 378.2 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006104/0.00929, allocations: 0.6 MB / 378.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.009673, allocations: 414.9 kB / 379.2 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.009726, allocations: 44 kB / 379.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.048e-05/0.009796, allocations: 44 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.009959, allocations: 275.3 kB / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.01012, allocations: 223.4 kB / 379.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.01049, allocations: 486.2 kB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.0105, allocations: 4 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.0105, allocations: 4 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.0105, allocations: 0 / 380.3 MB, free: 344 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001168/0.01167, allocations: 0.9843 MB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.0117, allocations: 15.97 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.01181, allocations: 112.5 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.01225, allocations: 478 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.01227, allocations: 37.38 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.01232, allocations: 52.38 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.01277, allocations: 461.6 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.01278, allocations: 0 / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.01281, allocations: 23.98 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.728e-05/0.01288, allocations: 36.97 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.01318, allocations: 225.7 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.01481, allocations: 2.173 MB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/0.01522, allocations: 332.5 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.01552, allocations: 220 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.01555, allocations: 11.95 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.01557, allocations: 45.39 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 1.513e-06/0.01557, allocations: 0 / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001766/0.01734, allocations: 1.159 MB / 386.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.01738, allocations: 81.11 kB / 386.7 MB, free: 9.633 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.01765, allocations: 422.6 kB / 387.1 MB, free: 9.199 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.01771, allocations: 41.64 kB / 387.1 MB, free: 9.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.01784, allocations: 355.8 kB / 387.5 MB, free: 8.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.01793, allocations: 170.5 kB / 387.6 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.01802, allocations: 99.95 kB / 387.7 MB, free: 8.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002834/0.0183, allocations: 0.543 MB / 388.3 MB, free: 7.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.01841, allocations: 77.25 kB / 388.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.01859, allocations: 250 kB / 388.6 MB, free: 7.582 MB / 362.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007744/0.01936, allocations: 0.5594 MB / 389.2 MB, free: 6.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.01937, allocations: 4 kB / 389.2 MB, free: 6.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005581/0.01992, allocations: 496.8 kB / 389.6 MB, free: 6.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.01994, allocations: 16 kB / 389.7 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01995, allocations: 4 kB / 389.7 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002904/0.02024, allocations: 107 kB / 389.8 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.02047, allocations: 111.8 kB / 389.9 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.02199, allocations: 2.473 MB / 392.3 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.02213, allocations: 19.98 kB / 392.4 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.02215, allocations: 27.98 kB / 392.4 MB, free: 3.586 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.0224, allocations: 188.5 kB / 392.6 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.02245, allocations: 63.67 kB / 392.6 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.02295, allocations: 454.2 kB / 393.1 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.02295, allocations: 4 kB / 393.1 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.02296, allocations: 4 kB / 393.1 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.02296, allocations: 7.984 kB / 393.1 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.02396, allocations: 0.9872 MB / 394.1 MB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.02397, allocations: 4.156 kB / 394.1 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.02414, allocations: 75.89 kB / 394.2 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002183/0.02436, allocations: 114.9 kB / 394.3 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.02438, allocations: 8 kB / 394.3 MB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.02595, allocations: 2.469 MB / 396.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.02596, allocations: 7.938 kB / 396.8 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.02659, allocations: 0.7097 MB / 397.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.02662, allocations: 47.67 kB / 397.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.02666, allocations: 19.98 kB / 397.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.02677, allocations: 11.98 kB / 397.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.02683, allocations: 43.88 kB / 397.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.02685, allocations: 19.98 kB / 397.6 MB, free: 14.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.027, allocations: 271.1 kB / 397.9 MB, free: 13.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.027, allocations: 0 / 397.9 MB, free: 13.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003526/0.02735, allocations: 144 kB / 398 MB, free: 13.71 MB / 378.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[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.894e-05/0.02744, allocations: 111.1 kB / 398.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005654/0.028, allocations: 0.5446 MB / 398.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02801, allocations: 0 / 398.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.02832, allocations: 414.3 kB / 399.1 MB, free: 12.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.02871, allocations: 121.2 kB / 399.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.03031, allocations: 1.153 MB / 400.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.03046, allocations: 177.9 kB / 400.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.03066, allocations: 88.61 kB / 400.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.03074, allocations: 40.5 kB / 400.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03074, allocations: 0 / 400.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of Templates: time 0.008977/0.03971, allocations: 7.033 MB / 407.7 MB, free: 4.016 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9486543857492507]