Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.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.001484/0.001484, 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.001734/0.001734, 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.35/1.35, allocations: 230.6 MB / 258.3 MB, free: 8 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.176/0.176, allocations: 38.53 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.AC1ph_DC.Elementary.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.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.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.Elementary.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.002082/0.002082, allocations: 67.89 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.291, allocations: 62.46 MB / 0.5432 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008005/0.299, allocations: 6.534 MB / 0.5496 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.3018, allocations: 1.49 MB / 0.5511 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.3022, allocations: 29.56 kB / 0.5511 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.3027, allocations: 155.7 kB / 0.5512 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008907/0.3036, allocations: 429.9 kB / 0.5517 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.3041, allocations: 210.3 kB / 0.5519 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.3054, allocations: 1.12 MB / 0.5529 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.3058, allocations: 225.6 kB / 0.5532 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008979/0.3067, allocations: 497.5 kB / 0.5536 GB, free: 8.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009521/0.3076, allocations: 0.5703 MB / 0.5542 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.3078, allocations: 68.59 kB / 0.5543 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.3079, allocations: 66.03 kB / 0.5543 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003933/0.3083, allocations: 327.6 kB / 0.5546 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.3088, allocations: 369.1 kB / 0.555 GB, free: 7.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.3098, allocations: 0.8778 MB / 0.5558 GB, free: 7.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3098, allocations: 0 / 0.5558 GB, free: 7.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3098, allocations: 5.438 kB / 0.5559 GB, free: 7.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3099, allocations: 0 / 0.5559 GB, free: 7.199 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002178/0.312, allocations: 0.9606 MB / 0.5568 GB, free: 6.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3121, allocations: 12.48 kB / 0.5568 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.3122, allocations: 81.38 kB / 0.5569 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.3134, allocations: 0.5195 MB / 0.5574 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.3137, allocations: 223.6 kB / 0.5576 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.3138, allocations: 60 kB / 0.5577 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.3152, allocations: 0.7811 MB / 0.5584 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.3152, allocations: 7.984 kB / 0.5584 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.551e-05/0.3153, allocations: 23.94 kB / 0.5585 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.3154, allocations: 40.91 kB / 0.5585 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.3167, allocations: 0.6869 MB / 0.5592 GB, free: 4 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004767/0.3215, allocations: 2.638 MB / 0.5617 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.3233, allocations: 0.7178 MB / 0.5624 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005756/0.3238, allocations: 313.5 kB / 0.5627 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.3239, allocations: 8 kB / 0.5627 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.3239, allocations: 34.55 kB / 0.5628 GB, free: 180 kB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.765e-06/0.3239, allocations: 0 / 0.5628 GB, free: 180 kB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.00396/0.3279, allocations: 1.657 MB / 0.5644 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.3279, allocations: 85.05 kB / 0.5645 GB, free: 14.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.3285, allocations: 425.9 kB / 0.5649 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.3285, allocations: 33.7 kB / 0.5649 GB, free: 13.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.3288, allocations: 320.9 kB / 0.5652 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.3289, allocations: 150.7 kB / 0.5654 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.3291, allocations: 82.19 kB / 0.5654 GB, free: 13.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3292, allocations: 358.8 kB / 0.5658 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.3297, allocations: 236.8 kB / 0.566 GB, free: 12.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.3303, allocations: 345.6 kB / 0.5663 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3313, allocations: 0.582 MB / 0.5669 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3313, allocations: 0 / 0.5669 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001467/0.3328, allocations: 0.7207 MB / 0.5676 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3328, allocations: 8 kB / 0.5676 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3328, allocations: 4 kB / 0.5676 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.3331, allocations: 85.84 kB / 0.5677 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.3344, allocations: 279.6 kB / 0.568 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006231/0.3406, allocations: 6.091 MB / 0.5739 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/0.3412, allocations: 35.95 kB / 0.574 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.3412, allocations: 20 kB / 0.574 GB, free: 4.043 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * 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.0004107/0.3416, allocations: 245.6 kB / 0.5742 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.974e-05/0.3417, allocations: 51.67 kB / 0.5743 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.3431, allocations: 0.6546 MB / 0.5749 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3431, allocations: 4 kB / 0.5749 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.3431, allocations: 0 / 0.5749 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3431, allocations: 3.984 kB / 0.5749 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.3457, allocations: 1.391 MB / 0.5763 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3457, allocations: 0 / 0.5763 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/0.3472, allocations: 299.6 kB / 0.5765 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002723/0.3474, allocations: 85.62 kB / 0.5766 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.3475, allocations: 16 kB / 0.5766 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/0.35, allocations: 2.962 MB / 0.5795 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.35, allocations: 4.031 kB / 0.5795 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.3518, allocations: 1.048 MB / 0.5806 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.352, allocations: 43.7 kB / 0.5806 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.047e-05/0.3521, allocations: 12 kB / 0.5806 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.3524, allocations: 31.95 kB / 0.5806 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3525, allocations: 43.81 kB / 0.5807 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.3525, allocations: 15.98 kB / 0.5807 GB, free: 12.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004108/0.3529, allocations: 295.1 kB / 0.581 GB, free: 12.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3529, allocations: 0 / 0.581 GB, free: 12.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006824/0.3536, allocations: 140 kB / 0.5811 GB, free: 12.38 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 36 * 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.0001623/0.3538, allocations: 107.2 kB / 0.5812 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.3563, allocations: 0.9692 MB / 0.5822 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3563, allocations: 0 / 0.5822 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.3581, allocations: 0.7119 MB / 0.5829 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008368/0.359, allocations: 141.9 kB / 0.583 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.3617, allocations: 1.507 MB / 0.5845 GB, free: 8.832 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.3623, allocations: 0.9447 MB / 0.5854 GB, free: 7.855 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.3625, allocations: 47.38 kB / 0.5854 GB, free: 7.809 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3625, allocations: 0 / 0.5854 GB, free: 7.809 MB / 430.1 MB Notification: Performance of Templates: time 0.02246/0.3849, allocations: 16.94 MB / 0.602 GB, free: 6.887 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.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: 9.063609395176172]