Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001066/0.001066, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001237/0.002302, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007559/0.0007559, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009372/0.001693, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08765/1.095, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1545/0.1545, allocations: 29.45 MB / 273.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1417/0.2962, allocations: 9.53 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/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="mat",numberOfIntervals=1000,variableFilter="meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.017e-06/1.032e-05, allocations: 5.797 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.004456/0.004467, allocations: 5.359 MB / 289.6 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.006093, allocations: 1.439 MB / 291 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.006288, allocations: 33.44 kB / 291.1 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.006563, allocations: 138.3 kB / 291.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000461/0.007024, allocations: 414.7 kB / 291.6 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.007311, allocations: 201.8 kB / 291.8 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007515/0.008063, allocations: 1.117 MB / 292.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.008308, allocations: 221.2 kB / 293.1 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000676/0.008984, allocations: 0.6998 MB / 293.8 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004642/0.009448, allocations: 457.9 kB / 294.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.009523, allocations: 61.16 kB / 294.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.024e-05/0.009613, allocations: 57.56 kB / 294.4 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.009801, allocations: 281.4 kB / 294.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.009978, allocations: 207.6 kB / 294.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.01039, allocations: 0.5217 MB / 295.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.0104, allocations: 0 / 295.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.0104, allocations: 0 / 295.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.01042, allocations: 3.938 kB / 295.4 MB, free: 3.633 MB / 282.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.001049/0.01147, allocations: 0.9963 MB / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.626e-05/0.01149, allocations: 8.031 kB / 296.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.01159, allocations: 96.86 kB / 296.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.01203, allocations: 435.4 kB / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.01216, allocations: 216.1 kB / 297.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.998e-05/0.01222, allocations: 60.27 kB / 297.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.01269, allocations: 499.3 kB / 297.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.0127, allocations: 0 / 297.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.01274, allocations: 20 kB / 297.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.919e-05/0.0128, allocations: 28.98 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.01307, allocations: 209.6 kB / 297.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.01468, allocations: 1.738 MB / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.01512, allocations: 387.3 kB / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.01526, allocations: 146.5 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.01528, allocations: 8.5 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.01531, allocations: 43 kB / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.623e-06/0.01531, allocations: 0 / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008049/0.01611, allocations: 496.4 kB / 300.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.01615, allocations: 89.61 kB / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.01632, allocations: 315.3 kB / 301.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.01635, allocations: 33.7 kB / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.01644, allocations: 261.8 kB / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.005e-05/0.01653, allocations: 178.5 kB / 301.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-05/0.01662, allocations: 94.27 kB / 301.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.01671, allocations: 370.8 kB / 302 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.0168, allocations: 64.11 kB / 302.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.01692, allocations: 165.2 kB / 302.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.01715, allocations: 269.7 kB / 302.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01716, allocations: 0 / 302.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003562/0.01751, allocations: 329.9 kB / 302.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.01753, allocations: 8.062 kB / 302.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01754, allocations: 7.938 kB / 302.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/0.01768, allocations: 48.5 kB / 302.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.01827, allocations: 255.6 kB / 303.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.02045, allocations: 5.167 MB / 308.3 MB, free: 5.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.02061, allocations: 63.61 kB / 308.4 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.02063, allocations: 12 kB / 308.4 MB, free: 5.848 MB / 298.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.0001197/0.02075, allocations: 148.5 kB / 308.6 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.0208, allocations: 47.97 kB / 308.6 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.02116, allocations: 324.4 kB / 308.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.02117, allocations: 4 kB / 308.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.02117, allocations: 7.922 kB / 308.9 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.02118, allocations: 4 kB / 308.9 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008439/0.02202, allocations: 0.852 MB / 309.8 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.02202, allocations: 4 kB / 309.8 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.02265, allocations: 259.8 kB / 310 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.02269, allocations: 55.52 kB / 310.1 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.02282, allocations: 60.48 kB / 310.2 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.02284, allocations: 12 kB / 310.2 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.02389, allocations: 2.64 MB / 312.8 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0239, allocations: 0 / 312.8 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.0244, allocations: 0.5747 MB / 313.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.02444, allocations: 16 kB / 313.4 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.02457, allocations: 19.98 kB / 313.4 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.02464, allocations: 51.8 kB / 313.5 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.02466, allocations: 4 kB / 313.5 MB, free: 464 kB / 298.7 MB Notification: Performance of sorting global known variables: time 8.295e-05/0.02474, allocations: 132.7 kB / 313.6 MB, free: 328 kB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02474, allocations: 0 / 313.6 MB, free: 328 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.000341/0.02508, allocations: 171.7 kB / 313.8 MB, free: 156 kB / 298.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.0001032/0.02519, allocations: 100.3 kB / 313.9 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008506/0.02604, allocations: 0.6291 MB / 314.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.02605, allocations: 12.31 kB / 314.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000596/0.02665, allocations: 0.5218 MB / 315 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.02702, allocations: 177 kB / 315.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007063/0.03409, allocations: 1.269 MB / 316.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.03419, allocations: 181.8 kB / 316.7 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.03434, allocations: 64.53 kB / 316.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.03456, allocations: 153.3 kB / 316.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.03456, allocations: 0 / 316.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of Templates: time 0.009381/0.04394, allocations: 8.162 MB / 325 MB, free: 4.898 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0134925870224833]