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.0009651/0.0009651, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.0009073/0.0009073, allocations: 161 kB / 24.56 MB, free: 20 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.9829/0.9829, allocations: 177.1 MB / 205 MB, free: 4.785 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.2573/0.2573, allocations: 29.42 MB / 290.9 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.443e-06/1.443e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.021e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.005032/0.005053, allocations: 5.322 MB / 374.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.007127, allocations: 1.406 MB / 376.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.007374, allocations: 31.75 kB / 376.4 MB, free: 4.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.007841, allocations: 135 kB / 376.5 MB, free: 4.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00057/0.008411, allocations: 417.5 kB / 376.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.00874, allocations: 199.5 kB / 377.1 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007174/0.009457, allocations: 1.11 MB / 378.2 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.009707, allocations: 209.2 kB / 378.4 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.01024, allocations: 0.6117 MB / 379 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/0.01073, allocations: 0.5105 MB / 379.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/0.0108, allocations: 64 kB / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-05/0.01089, allocations: 68 kB / 379.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.01109, allocations: 331.2 kB / 380 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.01129, allocations: 267.4 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004714/0.01176, allocations: 0.5723 MB / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01176, allocations: 0 / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01177, allocations: 0 / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.01177, allocations: 0 / 380.8 MB, free: 15.76 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.001166/0.01294, allocations: 1.043 MB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.01298, allocations: 15.98 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.01311, allocations: 132.4 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.01373, allocations: 0.5176 MB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.01387, allocations: 216.1 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.01394, allocations: 56.33 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.01458, allocations: 0.5333 MB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.01459, allocations: 0 / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.01463, allocations: 24 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-05/0.0147, allocations: 36.91 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.01513, allocations: 277.7 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.01716, allocations: 2.392 MB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.01774, allocations: 440.5 kB / 386.5 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.01795, allocations: 181.4 kB / 386.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.01798, allocations: 12.5 kB / 386.7 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.01801, allocations: 41.89 kB / 386.7 MB, free: 9.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 1.583e-06/0.01801, allocations: 0 / 386.7 MB, free: 9.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001583/0.0196, allocations: 1.069 MB / 387.8 MB, free: 8.469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.01964, allocations: 97.58 kB / 387.9 MB, free: 8.355 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.01988, allocations: 394.6 kB / 388.3 MB, free: 7.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.01991, allocations: 33.64 kB / 388.3 MB, free: 7.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.02006, allocations: 355.6 kB / 388.7 MB, free: 7.562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.02016, allocations: 182.4 kB / 388.8 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.02026, allocations: 104 kB / 388.9 MB, free: 7.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.0204, allocations: 0.5313 MB / 389.5 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.02054, allocations: 93.25 kB / 389.6 MB, free: 6.641 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.02074, allocations: 238.9 kB / 389.8 MB, free: 6.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.0211, allocations: 361.7 kB / 390.1 MB, free: 5.945 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.02111, allocations: 0 / 390.1 MB, free: 5.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005333/0.02164, allocations: 480.2 kB / 390.6 MB, free: 5.461 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.02165, allocations: 4 kB / 390.6 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.02166, allocations: 4 kB / 390.6 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.02182, allocations: 55.72 kB / 390.7 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.02243, allocations: 247.6 kB / 390.9 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.02537, allocations: 7.433 MB / 398.4 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.02553, allocations: 43.98 kB / 398.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.02556, allocations: 20 kB / 398.4 MB, free: 13.17 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.0001375/0.0257, allocations: 184.5 kB / 398.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.02576, allocations: 67.59 kB / 398.7 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.02627, allocations: 434.2 kB / 399.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.02627, allocations: 8 kB / 399.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.02628, allocations: 0 / 399.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.02628, allocations: 4 kB / 399.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.0274, allocations: 1.034 MB / 400.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.02741, allocations: 8.188 kB / 400.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/0.02806, allocations: 259.6 kB / 400.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.02821, allocations: 75.23 kB / 400.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.02825, allocations: 24 kB / 400.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.02967, allocations: 3.728 MB / 404.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02967, allocations: 4 kB / 404.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007307/0.0304, allocations: 0.7275 MB / 405 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.03044, allocations: 47.61 kB / 405 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.03048, allocations: 19.92 kB / 405 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.03064, allocations: 31.97 kB / 405 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.03072, allocations: 51.97 kB / 405.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.03075, allocations: 16 kB / 405.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.0309, allocations: 255.1 kB / 405.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0309, allocations: 0 / 405.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004113/0.03131, allocations: 148 kB / 405.5 MB, free: 5.664 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.0001299/0.03144, allocations: 115.1 kB / 405.6 MB, free: 5.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.03257, allocations: 0.8028 MB / 406.4 MB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.03257, allocations: 0 / 406.4 MB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000768/0.03334, allocations: 0.653 MB / 407.1 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.0338, allocations: 123.6 kB / 407.2 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.03593, allocations: 1.324 MB / 408.5 MB, free: 2.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.03606, allocations: 185.8 kB / 408.7 MB, free: 2.309 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.03625, allocations: 100.5 kB / 408.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.03635, allocations: 40.5 kB / 408.8 MB, free: 2.168 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03635, allocations: 0 / 408.8 MB, free: 2.168 MB / 378.7 MB Notification: Performance of Templates: time 0.008955/0.0453, allocations: 7.418 MB / 416.3 MB, free: 10.86 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.274280780926347]