Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.001598/0.001598, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001605/0.001605, allocations: 173.1 kB / 24.91 MB, free: 8.77 MB / 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.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2412/0.2412, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 3.938 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.017e-05/4.323e-05, allocations: 3.516 kB / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.0075/0.007543, allocations: 5.278 MB / 322.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.01016, allocations: 1.434 MB / 323.5 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004411/0.0106, allocations: 35.69 kB / 323.6 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005012/0.01111, allocations: 139 kB / 323.7 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008456/0.01195, allocations: 421.5 kB / 324.1 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.01252, allocations: 195.5 kB / 324.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.0142, allocations: 1.113 MB / 325.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004008/0.0146, allocations: 223.1 kB / 325.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.01596, allocations: 0.682 MB / 326.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008017/0.01677, allocations: 466.8 kB / 326.8 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.01688, allocations: 56 kB / 326.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.01701, allocations: 64 kB / 326.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.01729, allocations: 323.2 kB / 327.2 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.01751, allocations: 251.5 kB / 327.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006392/0.01815, allocations: 0.5567 MB / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01815, allocations: 0 / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01815, allocations: 0 / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.01817, allocations: 0 / 328 MB, free: 4.77 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001192/0.01936, allocations: 0.8672 MB / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.0194, allocations: 15.98 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.01953, allocations: 92.86 kB / 329 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.02005, allocations: 427.4 kB / 329.4 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.02021, allocations: 224.1 kB / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.02028, allocations: 56.33 kB / 329.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.02081, allocations: 0.4915 MB / 330.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.02082, allocations: 7.938 kB / 330.2 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.02086, allocations: 20 kB / 330.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.547e-05/0.02093, allocations: 21 kB / 330.2 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.02125, allocations: 205.6 kB / 330.4 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.02325, allocations: 1.742 MB / 332.2 MB, free: 432 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.0238, allocations: 392.7 kB / 332.6 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.024, allocations: 146.5 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.02405, allocations: 12.44 kB / 332.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.02409, allocations: 39.06 kB / 332.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.076e-06/0.02409, allocations: 0 / 332.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0009847/0.02508, allocations: 488.4 kB / 333.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.02512, allocations: 81.61 kB / 333.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.02534, allocations: 331.2 kB / 333.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.02537, allocations: 37.7 kB / 333.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.02549, allocations: 249.9 kB / 333.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.02559, allocations: 190.5 kB / 334.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.0257, allocations: 98.19 kB / 334.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.02581, allocations: 362.6 kB / 334.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.265e-05/0.0259, allocations: 64.12 kB / 334.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.02604, allocations: 165.3 kB / 334.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.02633, allocations: 277.7 kB / 335 MB, free: 13.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.02633, allocations: 0 / 335 MB, free: 13.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004538/0.02678, allocations: 333.8 kB / 335.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.0268, allocations: 8 kB / 335.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.02682, allocations: 7.938 kB / 335.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.02701, allocations: 48.44 kB / 335.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.02757, allocations: 231.9 kB / 335.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.03069, allocations: 5.163 MB / 340.8 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.03094, allocations: 55.61 kB / 340.9 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.03096, allocations: 16 kB / 340.9 MB, free: 7.109 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.03116, allocations: 156.6 kB / 341 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.03123, allocations: 39.97 kB / 341.1 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.03168, allocations: 320.4 kB / 341.4 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.03168, allocations: 4 kB / 341.4 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.03169, allocations: 7.938 kB / 341.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.0317, allocations: 3.984 kB / 341.4 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.03276, allocations: 0.8555 MB / 342.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.03276, allocations: 0 / 342.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006027/0.03337, allocations: 251.8 kB / 342.5 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001653/0.03353, allocations: 56.48 kB / 342.6 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.03356, allocations: 12 kB / 342.6 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.03484, allocations: 2.636 MB / 345.2 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.03485, allocations: 0 / 345.2 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.03546, allocations: 0.5786 MB / 345.8 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.03552, allocations: 43.64 kB / 345.8 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.03556, allocations: 16 kB / 345.8 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.0357, allocations: 19.98 kB / 345.9 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.03579, allocations: 51.73 kB / 345.9 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.03581, allocations: 12 kB / 345.9 MB, free: 1.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.655e-05/0.0359, allocations: 128.7 kB / 346.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0359, allocations: 0 / 346.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004875/0.03639, allocations: 175.7 kB / 346.2 MB, free: 1.441 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (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.0001419/0.03653, allocations: 96.34 kB / 346.3 MB, free: 1.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009307/0.03746, allocations: 0.6106 MB / 346.9 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.03748, allocations: 8.125 kB / 346.9 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006965/0.03817, allocations: 0.5027 MB / 347.4 MB, free: 168 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.03867, allocations: 129.3 kB / 347.6 MB, free: 40 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.04074, allocations: 1.239 MB / 348.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.04088, allocations: 181.8 kB / 349 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.04107, allocations: 60.55 kB / 349 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.04129, allocations: 157.2 kB / 349.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of SimCode: time 2.104e-06/0.0413, allocations: 0 / 349.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of Templates: time 0.01076/0.05206, allocations: 7.925 MB / 357.1 MB, free: 6.547 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2329282769933343]