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.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.001266/0.001266, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.00135/0.00135, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.366/1.366, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.2226/0.2226, allocations: 38.52 MB / 353.2 MB, free: 12.55 MB / 286.1 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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 59.91 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2948, allocations: 62.47 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008186/0.303, allocations: 6.885 MB / 0.55 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.3068, allocations: 2.186 MB / 0.5521 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004005/0.3072, allocations: 34.53 kB / 0.5521 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.3086, allocations: 0.5236 MB / 0.5526 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.3099, allocations: 0.5693 MB / 0.5532 GB, free: 8.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008928/0.3108, allocations: 363.5 kB / 0.5535 GB, free: 8.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.3122, allocations: 1.302 MB / 0.5548 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007284/0.3129, allocations: 0.5303 MB / 0.5553 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008831/0.3138, allocations: 0.5611 MB / 0.5559 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.3148, allocations: 0.7744 MB / 0.5566 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.315, allocations: 104.8 kB / 0.5567 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.3161, allocations: 0.6424 MB / 0.5574 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000473/0.3166, allocations: 494.8 kB / 0.5578 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005606/0.3171, allocations: 0.5289 MB / 0.5583 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.3189, allocations: 1.538 MB / 0.5598 GB, free: 3.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3189, allocations: 0 / 0.5598 GB, free: 3.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3189, allocations: 0 / 0.5598 GB, free: 3.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.397e-05/0.319, allocations: 0 / 0.5598 GB, free: 3.387 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.003156/0.3221, allocations: 1.324 MB / 0.5611 GB, free: 2.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3222, allocations: 15.98 kB / 0.5612 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008164/0.323, allocations: 172.2 kB / 0.5613 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.3243, allocations: 0.6307 MB / 0.5619 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003161/0.3247, allocations: 329.8 kB / 0.5622 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.3248, allocations: 87.94 kB / 0.5623 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.3271, allocations: 1.41 MB / 0.5637 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.3271, allocations: 7.938 kB / 0.5637 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/0.3272, allocations: 32 kB / 0.5637 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002126/0.3274, allocations: 89.88 kB / 0.5638 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.3301, allocations: 1.518 MB / 0.5653 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007005/0.3371, allocations: 4.348 MB / 0.5696 GB, free: 9.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.3393, allocations: 1.115 MB / 0.5707 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.3405, allocations: 0.7075 MB / 0.5713 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.092e-05/0.3406, allocations: 12.66 kB / 0.5714 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.3406, allocations: 47.16 kB / 0.5714 GB, free: 7.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.036e-06/0.3406, allocations: 0 / 0.5714 GB, free: 7.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.0067/0.3473, allocations: 3.646 MB / 0.575 GB, free: 3.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.3474, allocations: 90.05 kB / 0.575 GB, free: 3.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.3479, allocations: 409.8 kB / 0.5754 GB, free: 3.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.052e-05/0.348, allocations: 37.7 kB / 0.5755 GB, free: 3.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.3482, allocations: 353.1 kB / 0.5758 GB, free: 2.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.3485, allocations: 368.8 kB / 0.5762 GB, free: 2.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.3488, allocations: 162.6 kB / 0.5763 GB, free: 2.133 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.349, allocations: 382.8 kB / 0.5767 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.35, allocations: 0.5914 MB / 0.5773 GB, free: 1.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.3511, allocations: 0.7464 MB / 0.578 GB, free: 372 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/0.3534, allocations: 1.383 MB / 0.5793 GB, free: 14.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3534, allocations: 4 kB / 0.5793 GB, free: 14.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002721/0.3561, allocations: 1.521 MB / 0.5808 GB, free: 13.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3561, allocations: 4 kB / 0.5808 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.3561, allocations: 16.11 kB / 0.5808 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/0.3563, allocations: 44.83 kB / 0.5809 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/0.3586, allocations: 499.3 kB / 0.5814 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006609/0.3652, allocations: 6.272 MB / 0.5875 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008475/0.3661, allocations: 79.89 kB / 0.5876 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.809e-05/0.3662, allocations: 35.98 kB / 0.5876 GB, free: 6.004 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.0005322/0.3667, allocations: 321.4 kB / 0.5879 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.3669, allocations: 75.58 kB / 0.588 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/0.3696, allocations: 1.513 MB / 0.5895 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/0.3697, allocations: 20 kB / 0.5895 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3697, allocations: 4 kB / 0.5895 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3697, allocations: 3.984 kB / 0.5895 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004717/0.3744, allocations: 2.769 MB / 0.5922 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3744, allocations: 0 / 0.5922 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002653/0.3771, allocations: 0.5346 MB / 0.5927 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.3772, allocations: 36.84 kB / 0.5927 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.622e-05/0.3773, allocations: 27.97 kB / 0.5928 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.3786, allocations: 1.527 MB / 0.5943 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3786, allocations: 8.031 kB / 0.5943 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00404/0.3826, allocations: 2.468 MB / 0.5967 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.3828, allocations: 67.41 kB / 0.5967 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.3829, allocations: 19.98 kB / 0.5968 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/0.3835, allocations: 79.98 kB / 0.5968 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.3837, allocations: 80.44 kB / 0.5969 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.3837, allocations: 28 kB / 0.5969 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003352/0.3841, allocations: 279.1 kB / 0.5972 GB, free: 11.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3841, allocations: 3.938 kB / 0.5972 GB, free: 11.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000905/0.385, allocations: 239.9 kB / 0.5974 GB, free: 11.66 MB / 446.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.0003337/0.3853, allocations: 163 kB / 0.5976 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00411/0.3894, allocations: 1.751 MB / 0.5993 GB, free: 9.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3894, allocations: 0.5625 kB / 0.5993 GB, free: 9.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002701/0.3921, allocations: 1.123 MB / 0.6004 GB, free: 8.594 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008738/0.393, allocations: 160.2 kB / 0.6006 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/0.398, allocations: 2.703 MB / 0.6032 GB, free: 5.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/0.3988, allocations: 1.083 MB / 0.6043 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/0.3992, allocations: 67.42 kB / 0.6043 GB, free: 4.504 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3992, allocations: 0 / 0.6043 GB, free: 4.504 MB / 446.1 MB Notification: Performance of Templates: time 0.03156/0.4307, allocations: 24.19 MB / 0.6279 GB, free: 12.32 MB / 478.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins1/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: 10.212904889835045]