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.001654/0.001654, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.002096/0.002096, allocations: 170.8 kB / 24.82 MB, free: 9.266 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.129/1.129, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2668/0.2668, allocations: 29.42 MB / 291.2 MB, free: 2.457 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 2.234e-06/2.234e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.502e-05, allocations: 2.312 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.005705/0.00573, allocations: 5.265 MB / 375.4 MB, free: 5.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.007714, allocations: 1.395 MB / 376.8 MB, free: 4.039 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.007989, allocations: 35.69 kB / 376.8 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.008451, allocations: 139 kB / 376.9 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000588/0.009039, allocations: 417.5 kB / 377.3 MB, free: 3.457 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.009371, allocations: 199.5 kB / 377.5 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008569/0.01023, allocations: 1.11 MB / 378.6 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.01052, allocations: 213.2 kB / 378.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007478/0.01127, allocations: 0.6781 MB / 379.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.01176, allocations: 482.7 kB / 380 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.862e-05/0.01182, allocations: 60 kB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.431e-05/0.01191, allocations: 60 kB / 380.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.01212, allocations: 323.2 kB / 380.4 MB, free: 360 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.01232, allocations: 247.5 kB / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005389/0.01286, allocations: 0.5606 MB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.01286, allocations: 0 / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01286, allocations: 0 / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.01287, allocations: 0 / 381.2 MB, free: 15.55 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.001301/0.01417, allocations: 1.008 MB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.01421, allocations: 15.98 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.01434, allocations: 124.5 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.01481, allocations: 464.9 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.01495, allocations: 220.1 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/0.01501, allocations: 56.38 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.01553, allocations: 0.4941 MB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01554, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.01558, allocations: 24 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.647e-05/0.01564, allocations: 21 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.01593, allocations: 230.7 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.01784, allocations: 2.252 MB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.01833, allocations: 384.5 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.01849, allocations: 165.3 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.01852, allocations: 12.5 kB / 386.7 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.01854, allocations: 41.83 kB / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 1.944e-06/0.01855, allocations: 0 / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.00131/0.01986, allocations: 0.8432 MB / 387.6 MB, free: 8.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.0199, allocations: 85.59 kB / 387.6 MB, free: 8.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.02014, allocations: 390.5 kB / 388 MB, free: 8.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.02017, allocations: 33.7 kB / 388.1 MB, free: 8.371 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.02033, allocations: 343.6 kB / 388.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.02073, allocations: 194.3 kB / 388.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.02085, allocations: 107.9 kB / 388.7 MB, free: 7.723 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.02101, allocations: 0.5392 MB / 389.2 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.02111, allocations: 73.25 kB / 389.3 MB, free: 7.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.02128, allocations: 226.8 kB / 389.5 MB, free: 6.824 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.02157, allocations: 317.7 kB / 389.8 MB, free: 6.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02157, allocations: 4 kB / 389.8 MB, free: 6.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004766/0.02205, allocations: 420.6 kB / 390.2 MB, free: 6.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.02207, allocations: 14.44 kB / 390.3 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.02208, allocations: 4 kB / 390.3 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.02224, allocations: 55.28 kB / 390.3 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.02279, allocations: 235.8 kB / 390.5 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.02602, allocations: 7.334 MB / 397.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.02617, allocations: 27.92 kB / 397.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.02619, allocations: 19.98 kB / 397.9 MB, free: 13.89 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.0001655/0.02636, allocations: 188.6 kB / 398.1 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.02643, allocations: 63.72 kB / 398.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.02685, allocations: 386.2 kB / 398.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.02685, allocations: 4 kB / 398.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.02686, allocations: 0 / 398.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.02686, allocations: 7.984 kB / 398.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009743/0.02784, allocations: 0.9134 MB / 399.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.02784, allocations: 4 kB / 399.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006103/0.02845, allocations: 243.9 kB / 399.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/0.0286, allocations: 63.31 kB / 399.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.02863, allocations: 15.98 kB / 399.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.03034, allocations: 3.686 MB / 403.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.03034, allocations: 4 kB / 403.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.03095, allocations: 0.6651 MB / 404.2 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.03099, allocations: 55.59 kB / 404.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.03103, allocations: 12 kB / 404.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.03117, allocations: 27.92 kB / 404.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.03126, allocations: 43.86 kB / 404.3 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.03127, allocations: 8 kB / 404.3 MB, free: 7.141 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.03141, allocations: 255 kB / 404.5 MB, free: 6.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03141, allocations: 0 / 404.5 MB, free: 6.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003839/0.03179, allocations: 151.9 kB / 404.7 MB, free: 6.746 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.0001277/0.03192, allocations: 107.2 kB / 404.8 MB, free: 6.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009183/0.03284, allocations: 0.7562 MB / 405.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.03284, allocations: 4.125 kB / 405.6 MB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006841/0.03353, allocations: 0.6213 MB / 406.2 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.03397, allocations: 125.1 kB / 406.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.03591, allocations: 1.312 MB / 407.6 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.03604, allocations: 177.8 kB / 407.8 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00016/0.0362, allocations: 64.53 kB / 407.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.03643, allocations: 182.1 kB / 408 MB, free: 3.242 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.03643, allocations: 0 / 408 MB, free: 3.242 MB / 378.7 MB Notification: Performance of Templates: time 0.01068/0.04711, allocations: 7.948 MB / 416 MB, free: 11.42 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.532870792783797]