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.0009637/0.0009637, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001061/0.001061, allocations: 171.8 kB / 24.92 MB, free: 8.723 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.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2491/0.2491, allocations: 29.4 MB / 291.2 MB, free: 2.426 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 1.313e-06/1.313e-06, allocations: 0 / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.866e-05, allocations: 3.078 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006006/0.006035, allocations: 5.32 MB / 322.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.009013, allocations: 1.445 MB / 323.6 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005941/0.009607, allocations: 27.75 kB / 323.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.01013, allocations: 134.9 kB / 323.8 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007602/0.01089, allocations: 421.6 kB / 324.2 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.01144, allocations: 203.4 kB / 324.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.01257, allocations: 1.106 MB / 325.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.0129, allocations: 231.1 kB / 325.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.01402, allocations: 0.6742 MB / 326.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007647/0.01478, allocations: 462.8 kB / 326.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-05/0.01487, allocations: 60 kB / 326.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.01498, allocations: 60 kB / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.01521, allocations: 323.2 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.01546, allocations: 255.4 kB / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.01606, allocations: 0.5451 MB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01607, allocations: 4 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01607, allocations: 0 / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.01608, allocations: 7.938 kB / 328.1 MB, free: 4.688 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.001194/0.01728, allocations: 0.8635 MB / 329 MB, free: 3.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.01731, allocations: 11.98 kB / 329 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.01743, allocations: 92.86 kB / 329.1 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.01794, allocations: 439.4 kB / 329.5 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.01807, allocations: 216.1 kB / 329.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/0.01816, allocations: 60.27 kB / 329.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/0.01869, allocations: 491.3 kB / 330.3 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.0187, allocations: 0 / 330.3 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.01874, allocations: 28 kB / 330.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.277e-05/0.0188, allocations: 24.98 kB / 330.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.01911, allocations: 205.6 kB / 330.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.02097, allocations: 1.742 MB / 332.2 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.02145, allocations: 394.3 kB / 332.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.0216, allocations: 146.5 kB / 332.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.02163, allocations: 12.5 kB / 332.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.02165, allocations: 51 kB / 332.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.703e-06/0.02165, allocations: 0 / 332.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008667/0.02252, allocations: 488.5 kB / 333.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.02256, allocations: 85.61 kB / 333.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.02275, allocations: 331.2 kB / 333.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.02278, allocations: 33.7 kB / 333.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.02288, allocations: 249.9 kB / 334 MB, free: 14.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.965e-05/0.02297, allocations: 182.4 kB / 334.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.02307, allocations: 94.25 kB / 334.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.02317, allocations: 362.6 kB / 334.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.02326, allocations: 68.11 kB / 334.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.02338, allocations: 169.2 kB / 334.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.02364, allocations: 269.8 kB / 335.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.02364, allocations: 0 / 335.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004031/0.02404, allocations: 341.5 kB / 335.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.02406, allocations: 4 kB / 335.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.02407, allocations: 7.938 kB / 335.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.02422, allocations: 44.86 kB / 335.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.0248, allocations: 247.6 kB / 335.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.02739, allocations: 5.175 MB / 340.9 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.02762, allocations: 59.61 kB / 341 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.02764, allocations: 12 kB / 341 MB, free: 7.012 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.0001652/0.02781, allocations: 144.5 kB / 341.1 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.02787, allocations: 47.95 kB / 341.2 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.02826, allocations: 320.4 kB / 341.5 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.02826, allocations: 8 kB / 341.5 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.02827, allocations: 3.938 kB / 341.5 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.02827, allocations: 3.984 kB / 341.5 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009561/0.02923, allocations: 0.851 MB / 342.4 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.02923, allocations: 8.031 kB / 342.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.03097, allocations: 247.7 kB / 342.6 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000157/0.03113, allocations: 56.42 kB / 342.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.03116, allocations: 20 kB / 342.7 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.03258, allocations: 2.632 MB / 345.3 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.03258, allocations: 4 kB / 345.3 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.03314, allocations: 0.5784 MB / 345.9 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.03318, allocations: 43.66 kB / 345.9 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.03322, allocations: 12 kB / 346 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.03335, allocations: 20.05 kB / 346 MB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.03343, allocations: 51.8 kB / 346 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.03345, allocations: 15.98 kB / 346 MB, free: 1.637 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.922e-05/0.03354, allocations: 124.7 kB / 346.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03354, allocations: 0 / 346.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000435/0.03398, allocations: 179.7 kB / 346.3 MB, free: 1.344 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.0001177/0.03409, allocations: 88.34 kB / 346.4 MB, free: 1.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008305/0.03492, allocations: 0.6218 MB / 347 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.03493, allocations: 4 kB / 347.1 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006243/0.03556, allocations: 0.4994 MB / 347.6 MB, free: 72 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.036, allocations: 134.1 kB / 347.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.03802, allocations: 1.239 MB / 348.9 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.03815, allocations: 181.8 kB / 349.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.03833, allocations: 68.53 kB / 349.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.03858, allocations: 153.2 kB / 349.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03858, allocations: 0 / 349.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of Templates: time 0.01121/0.04979, allocations: 7.918 MB / 357.2 MB, free: 6.449 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.008070551790297]