Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1812/0.1812, allocations: 38.53 MB / 344.5 MB, free: 2.621 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.88 kB / 482.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3605, allocations: 61.25 MB / 0.5306 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.007194/0.3677, allocations: 6.847 MB / 0.5373 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004058/0.3717, allocations: 2.146 MB / 0.5394 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.3721, allocations: 24.38 kB / 0.5394 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.3737, allocations: 0.5208 MB / 0.5399 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.375, allocations: 0.5611 MB / 0.5404 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008844/0.3759, allocations: 354.2 kB / 0.5408 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.3774, allocations: 1.302 MB / 0.542 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.3781, allocations: 0.4992 MB / 0.5425 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008295/0.3789, allocations: 0.5565 MB / 0.5431 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.38, allocations: 0.7727 MB / 0.5438 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.3801, allocations: 105.6 kB / 0.5439 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.3812, allocations: 0.6247 MB / 0.5445 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005899/0.3818, allocations: 488.9 kB / 0.545 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006117/0.3824, allocations: 0.5287 MB / 0.5455 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.3844, allocations: 1.541 MB / 0.547 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3844, allocations: 0 / 0.547 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3844, allocations: 0 / 0.547 GB, free: 10.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.3844, allocations: 0 / 0.547 GB, free: 10.02 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003394/0.3878, allocations: 1.397 MB / 0.5484 GB, free: 9.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.3878, allocations: 12.55 kB / 0.5484 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008003/0.3886, allocations: 139.2 kB / 0.5485 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.3901, allocations: 0.6997 MB / 0.5492 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.3903, allocations: 170.7 kB / 0.5494 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.3906, allocations: 94.81 kB / 0.5495 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.3931, allocations: 1.408 MB / 0.5508 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.3931, allocations: 13.05 kB / 0.5509 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.3932, allocations: 30.92 kB / 0.5509 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002253/0.3934, allocations: 87.33 kB / 0.551 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/0.3962, allocations: 1.516 MB / 0.5524 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00693/0.4031, allocations: 4.416 MB / 0.5568 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.4053, allocations: 1.118 MB / 0.5579 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.4066, allocations: 0.7149 MB / 0.5586 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.733e-05/0.4067, allocations: 16.55 kB / 0.5586 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.4067, allocations: 43.22 kB / 0.5586 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 2.975e-06/0.4067, allocations: 0 / 0.5586 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007611/0.4143, allocations: 3.872 MB / 0.5624 GB, free: 11.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.4144, allocations: 90.14 kB / 0.5625 GB, free: 11.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.4149, allocations: 405.8 kB / 0.5629 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.962e-05/0.415, allocations: 41.7 kB / 0.5629 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.4152, allocations: 353.1 kB / 0.5632 GB, free: 10.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.4156, allocations: 368.8 kB / 0.5636 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/0.4159, allocations: 158.7 kB / 0.5637 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.4161, allocations: 374.8 kB / 0.5641 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.4172, allocations: 0.5953 MB / 0.5647 GB, free: 9.266 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.4184, allocations: 0.7386 MB / 0.5654 GB, free: 8.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.4208, allocations: 1.391 MB / 0.5668 GB, free: 7.039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4208, allocations: 0 / 0.5668 GB, free: 7.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003231/0.424, allocations: 1.604 MB / 0.5683 GB, free: 5.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.4241, allocations: 4 kB / 0.5683 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.4241, allocations: 4 kB / 0.5683 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001963/0.4243, allocations: 44.78 kB / 0.5684 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/0.4268, allocations: 0.4917 MB / 0.5689 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007859/0.4347, allocations: 6.694 MB / 0.5754 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.4358, allocations: 83.89 kB / 0.5755 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.4359, allocations: 36.08 kB / 0.5755 GB, free: 13.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007187/0.4366, allocations: 317.4 kB / 0.5758 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.4369, allocations: 71.56 kB / 0.5759 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/0.4399, allocations: 1.588 MB / 0.5774 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-05/0.44, allocations: 31.98 kB / 0.5775 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.44, allocations: 7.984 kB / 0.5775 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.44, allocations: 3.984 kB / 0.5775 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005042/0.445, allocations: 2.869 MB / 0.5803 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.445, allocations: 4 kB / 0.5803 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002768/0.4478, allocations: 0.5307 MB / 0.5808 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.4479, allocations: 36.84 kB / 0.5808 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.919e-05/0.448, allocations: 20 kB / 0.5808 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.4495, allocations: 1.646 MB / 0.5825 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.4495, allocations: 3.938 kB / 0.5825 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004283/0.4538, allocations: 2.544 MB / 0.5849 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.454, allocations: 140.6 kB / 0.5851 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.4541, allocations: 16 kB / 0.5851 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/0.4547, allocations: 75.84 kB / 0.5852 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.4549, allocations: 76.48 kB / 0.5852 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-05/0.455, allocations: 31.98 kB / 0.5853 GB, free: 3.137 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003361/0.4554, allocations: 275.1 kB / 0.5855 GB, free: 2.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4554, allocations: 3.938 kB / 0.5855 GB, free: 2.867 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009795/0.4563, allocations: 239.9 kB / 0.5858 GB, free: 2.633 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003408/0.4567, allocations: 171 kB / 0.5859 GB, free: 2.457 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004266/0.4609, allocations: 1.755 MB / 0.5876 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4609, allocations: 3.938 kB / 0.5876 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003081/0.464, allocations: 1.132 MB / 0.5888 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.465, allocations: 152.1 kB / 0.5889 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005395/0.4704, allocations: 2.632 MB / 0.5915 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008058/0.4712, allocations: 1.083 MB / 0.5925 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007804/0.472, allocations: 265.6 kB / 0.5928 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.4722, allocations: 59.42 kB / 0.5928 GB, free: 11.27 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4722, allocations: 0 / 0.5928 GB, free: 11.27 MB / 446.1 MB Notification: Performance of Templates: time 0.02114/0.4934, allocations: 11.58 MB / 0.6041 GB, free: 15.79 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.435859479941428]