Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.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.0009614/0.0009614, allocations: 80.8 kB / 21.49 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.0009179/0.0009179, allocations: 168.7 kB / 24.91 MB, free: 9.191 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 0.9821/0.9821, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2361/0.2361, allocations: 29.42 MB / 291.2 MB, free: 2.484 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.934e-05, allocations: 4.109 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005373/0.005392, allocations: 5.409 MB / 322.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.007387, allocations: 1.469 MB / 323.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.00766, allocations: 35.69 kB / 323.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.008093, allocations: 138.9 kB / 323.9 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005987/0.008691, allocations: 433.5 kB / 324.4 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.009048, allocations: 211.5 kB / 324.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000821/0.009869, allocations: 1.152 MB / 325.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.01011, allocations: 219.1 kB / 325.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006954/0.01081, allocations: 0.7053 MB / 326.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.01126, allocations: 458.8 kB / 327.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.01133, allocations: 60 kB / 327.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.01142, allocations: 64 kB / 327.2 MB, free: 5.582 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.01165, allocations: 327.2 kB / 327.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.01184, allocations: 259.4 kB / 327.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.0123, allocations: 0.5645 MB / 328.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.0123, allocations: 4 kB / 328.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.0123, allocations: 0 / 328.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.01231, allocations: 0 / 328.4 MB, free: 4.438 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.0009282/0.01324, allocations: 0.8828 MB / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.01327, allocations: 11.98 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.01339, allocations: 100.9 kB / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.01385, allocations: 459.3 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.01399, allocations: 216.1 kB / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.215e-05/0.01405, allocations: 56.36 kB / 330.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.01454, allocations: 495.4 kB / 330.5 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.01455, allocations: 7.922 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.01459, allocations: 23.98 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.01464, allocations: 24.94 kB / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.0149, allocations: 189.6 kB / 330.8 MB, free: 1.871 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.01665, allocations: 1.819 MB / 332.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.01713, allocations: 358.2 kB / 333 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.01725, allocations: 114.3 kB / 333.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.01727, allocations: 8 kB / 333.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.01729, allocations: 38.56 kB / 333.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 1.472e-06/0.01729, allocations: 0 / 333.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.0007953/0.01809, allocations: 405.1 kB / 333.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.01812, allocations: 85.05 kB / 333.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.01833, allocations: 339.2 kB / 333.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.01836, allocations: 33.7 kB / 334 MB, free: 14.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.01848, allocations: 281.7 kB / 334.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.01855, allocations: 142.7 kB / 334.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-05/0.01864, allocations: 78.16 kB / 334.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.01874, allocations: 362.7 kB / 334.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.416e-05/0.01882, allocations: 55.94 kB / 334.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.01894, allocations: 160.9 kB / 335 MB, free: 13.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.01917, allocations: 252.9 kB / 335.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.01918, allocations: 7.938 kB / 335.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003534/0.01953, allocations: 308.3 kB / 335.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.01955, allocations: 8 kB / 335.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01955, allocations: 0 / 335.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.0197, allocations: 48.52 kB / 335.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.02023, allocations: 227.8 kB / 335.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.02267, allocations: 5.175 MB / 341 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.02282, allocations: 43.72 kB / 341.1 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.02284, allocations: 16 kB / 341.1 MB, free: 6.906 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 49 * 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.0001238/0.02296, allocations: 148.6 kB / 341.2 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.02302, allocations: 43.84 kB / 341.3 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.02335, allocations: 277.2 kB / 341.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.02336, allocations: 4 kB / 341.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.02336, allocations: 0 / 341.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.02336, allocations: 0 / 341.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007818/0.02414, allocations: 0.7566 MB / 342.3 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.02415, allocations: 4 kB / 342.3 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.0248, allocations: 235.6 kB / 342.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.02494, allocations: 56.48 kB / 342.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.02497, allocations: 15.98 kB / 342.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.0261, allocations: 2.628 MB / 345.2 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02611, allocations: 0 / 345.2 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.02657, allocations: 473.9 kB / 345.7 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.02661, allocations: 47.61 kB / 345.7 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.02664, allocations: 16.12 kB / 345.8 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.02676, allocations: 15.98 kB / 345.8 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.02683, allocations: 39.88 kB / 345.8 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.02685, allocations: 7.984 kB / 345.8 MB, free: 1.863 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.634e-05/0.02694, allocations: 136.7 kB / 346 MB, free: 1.727 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02694, allocations: 0 / 346 MB, free: 1.727 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003576/0.0273, allocations: 167.7 kB / 346.1 MB, free: 1.562 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 35 * 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.0001075/0.02741, allocations: 92.3 kB / 346.2 MB, free: 1.461 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007883/0.0282, allocations: 0.5763 MB / 346.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.02821, allocations: 4 kB / 346.8 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005947/0.0288, allocations: 493.5 kB / 347.3 MB, free: 352 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.02919, allocations: 146.7 kB / 347.4 MB, free: 212 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.03062, allocations: 1.111 MB / 348.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.03073, allocations: 177.7 kB / 348.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000132/0.03086, allocations: 56.36 kB / 348.8 MB, free: 14.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.03107, allocations: 153.2 kB / 348.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of SimCode: time 8.02e-07/0.03107, allocations: 0 / 348.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of Templates: time 0.00965/0.04072, allocations: 7.767 MB / 356.7 MB, free: 7.039 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.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.080921608954668]