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.0009215/0.0009215, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009919/0.0009919, allocations: 165 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.9684/0.9684, allocations: 177.1 MB / 205 MB, free: 5.605 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.2648/0.2648, allocations: 29.43 MB / 290.9 MB, free: 2.5 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.Inverters.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.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.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.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.515e-05, allocations: 5.406 kB / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.005245/0.00527, allocations: 5.315 MB / 375 MB, free: 5.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.007507, allocations: 1.406 MB / 376.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003421/0.007849, allocations: 35.69 kB / 376.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005453/0.008394, allocations: 127 kB / 376.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007542/0.009149, allocations: 421.5 kB / 376.9 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.00963, allocations: 199.5 kB / 377.1 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.01066, allocations: 1.106 MB / 378.2 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.01097, allocations: 217.2 kB / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.01199, allocations: 0.682 MB / 379.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006575/0.01265, allocations: 474.8 kB / 379.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.839e-05/0.01274, allocations: 63.94 kB / 379.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.01285, allocations: 56 kB / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.01308, allocations: 319.2 kB / 380 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.01331, allocations: 263.4 kB / 380.3 MB, free: 288 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005995/0.01391, allocations: 0.5528 MB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.01391, allocations: 0 / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01392, allocations: 0 / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.01393, allocations: 0 / 380.8 MB, free: 15.73 MB / 362.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.001343/0.01527, allocations: 1.028 MB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.01532, allocations: 19.92 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.01547, allocations: 124.5 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.01601, allocations: 488.8 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.01619, allocations: 220.1 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/0.01626, allocations: 52.38 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.0169, allocations: 0.5255 MB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.01692, allocations: 3.984 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.01695, allocations: 20 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.807e-05/0.01705, allocations: 44.91 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.01751, allocations: 285.6 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.0197, allocations: 2.38 MB / 386 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.02037, allocations: 440.5 kB / 386.4 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.02058, allocations: 184.3 kB / 386.6 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.02061, allocations: 12.5 kB / 386.6 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.02064, allocations: 41.88 kB / 386.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.584e-06/0.02065, allocations: 0 / 386.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001782/0.02243, allocations: 1.084 MB / 387.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.02247, allocations: 85.55 kB / 387.8 MB, free: 8.387 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.02275, allocations: 394.7 kB / 388.2 MB, free: 7.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.02278, allocations: 37.64 kB / 388.3 MB, free: 7.945 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.02297, allocations: 347.6 kB / 388.6 MB, free: 7.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.02308, allocations: 186.4 kB / 388.8 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.0232, allocations: 112.1 kB / 388.9 MB, free: 7.297 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.02341, allocations: 0.5313 MB / 389.4 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.02356, allocations: 93.25 kB / 389.5 MB, free: 6.664 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.02377, allocations: 246.9 kB / 389.8 MB, free: 6.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.02414, allocations: 353.7 kB / 390.1 MB, free: 5.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.02414, allocations: 0 / 390.1 MB, free: 5.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005753/0.02472, allocations: 476.5 kB / 390.6 MB, free: 5.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.02474, allocations: 4 kB / 390.6 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.02474, allocations: 4 kB / 390.6 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001863/0.02493, allocations: 51.34 kB / 390.6 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/0.02556, allocations: 247.8 kB / 390.9 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/0.02903, allocations: 7.444 MB / 398.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.02926, allocations: 31.97 kB / 398.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.02929, allocations: 20 kB / 398.4 MB, free: 13.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0001913/0.02948, allocations: 196.5 kB / 398.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.02955, allocations: 67.66 kB / 398.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005616/0.03011, allocations: 422.2 kB / 399 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.03012, allocations: 8 kB / 399 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.03012, allocations: 0 / 399 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.03013, allocations: 7.984 kB / 399 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.03139, allocations: 1.038 MB / 400.1 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.0314, allocations: 4 kB / 400.1 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.03207, allocations: 259.8 kB / 400.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001681/0.03224, allocations: 71.3 kB / 400.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.03227, allocations: 12 kB / 400.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.03395, allocations: 3.751 MB / 404.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.03395, allocations: 4 kB / 404.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007461/0.0347, allocations: 0.7276 MB / 404.9 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.03476, allocations: 51.59 kB / 405 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.0348, allocations: 15.94 kB / 405 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.03497, allocations: 35.95 kB / 405 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.03508, allocations: 47.92 kB / 405.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.0351, allocations: 19.98 kB / 405.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.03528, allocations: 251.1 kB / 405.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03528, allocations: 0 / 405.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005039/0.03578, allocations: 148 kB / 405.5 MB, free: 5.684 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.0001385/0.03592, allocations: 119.1 kB / 405.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.03699, allocations: 0.7992 MB / 406.4 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.037, allocations: 4.062 kB / 406.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007376/0.03773, allocations: 0.6487 MB / 407 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.03821, allocations: 120.9 kB / 407.2 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.04045, allocations: 1.319 MB / 408.5 MB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.04059, allocations: 181.8 kB / 408.6 MB, free: 2.336 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.04085, allocations: 100.5 kB / 408.7 MB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.04096, allocations: 44.48 kB / 408.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.04096, allocations: 0 / 408.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of Templates: time 0.01093/0.05189, allocations: 7.752 MB / 416.5 MB, free: 10.56 MB / 394.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 -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.263398646377027]