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.002421/0.002421, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002767/0.002767, allocations: 165.3 kB / 24.28 MB, free: 152 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 1.61/1.61, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3001/0.3001, allocations: 29.4 MB / 290.5 MB, free: 2.414 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.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: Performance of FrontEnd - loaded program: time 4.759e-06/4.759e-06, allocations: 3.984 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/3.085e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.00972/0.009751, allocations: 6.379 MB / 375.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.01267, allocations: 1.43 MB / 376.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.013, allocations: 31.69 kB / 376.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.01361, allocations: 154.8 kB / 376.9 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.01496, allocations: 445.4 kB / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.01556, allocations: 215.5 kB / 377.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.01718, allocations: 1.137 MB / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004105/0.01759, allocations: 213.2 kB / 378.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.01866, allocations: 0.6466 MB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009394/0.0196, allocations: 0.526 MB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.01975, allocations: 71.98 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.01994, allocations: 64.05 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004122/0.02035, allocations: 335.1 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004197/0.02077, allocations: 267.4 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.02202, allocations: 0.888 MB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.02203, allocations: 0 / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02203, allocations: 0 / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.02204, allocations: 0 / 381.7 MB, free: 14.48 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002252/0.02429, allocations: 1.117 MB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.02433, allocations: 15.98 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.02457, allocations: 124.5 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.02575, allocations: 0.5216 MB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/0.026, allocations: 220.1 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.02611, allocations: 60.3 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.02754, allocations: 0.6146 MB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.02756, allocations: 0 / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.02763, allocations: 20 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.02775, allocations: 40.97 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.02878, allocations: 375.6 kB / 384.7 MB, free: 11.24 MB / 362.7 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.004693/0.03347, allocations: 2.662 MB / 387.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.03491, allocations: 454 kB / 387.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.03534, allocations: 179.3 kB / 388 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.867e-05/0.03539, allocations: 11.75 kB / 388 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.03544, allocations: 45.27 kB / 388.1 MB, free: 7.762 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 1.613e-06/0.03544, allocations: 0 / 388.1 MB, free: 7.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.003213/0.03865, allocations: 1.124 MB / 389.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.03873, allocations: 89.09 kB / 389.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/0.03927, allocations: 478.6 kB / 389.8 MB, free: 6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.03931, allocations: 33.7 kB / 389.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.03965, allocations: 399.4 kB / 390.2 MB, free: 5.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.0398, allocations: 150.8 kB / 390.3 MB, free: 5.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.03998, allocations: 103.8 kB / 390.4 MB, free: 5.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003434/0.04032, allocations: 0.5586 MB / 391 MB, free: 4.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.0407, allocations: 124.9 kB / 391.1 MB, free: 4.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007384/0.04143, allocations: 284.2 kB / 391.4 MB, free: 4.277 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009018/0.04234, allocations: 450.5 kB / 391.8 MB, free: 3.773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.04234, allocations: 0 / 391.8 MB, free: 3.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001182/0.04352, allocations: 0.496 MB / 392.3 MB, free: 3.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.04354, allocations: 8 kB / 392.3 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.04355, allocations: 4 kB / 392.3 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002744/0.04382, allocations: 63.62 kB / 392.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.04504, allocations: 223.7 kB / 392.6 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/0.05248, allocations: 7.612 MB / 400.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.05281, allocations: 32.22 kB / 400.3 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.05285, allocations: 16 kB / 400.3 MB, free: 10.82 MB / 378.7 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.0002905/0.05314, allocations: 216.4 kB / 400.5 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.05326, allocations: 55.72 kB / 400.5 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.0544, allocations: 439.9 kB / 401 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.05441, allocations: 4 kB / 401 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.05441, allocations: 3.938 kB / 401 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.05442, allocations: 0 / 401 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.0568, allocations: 1.11 MB / 402.1 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.05681, allocations: 8 kB / 402.1 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.05816, allocations: 231.7 kB / 402.3 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002901/0.05845, allocations: 79.17 kB / 402.4 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.05849, allocations: 8 kB / 402.4 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/0.06185, allocations: 3.779 MB / 406.2 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.06185, allocations: 4 kB / 406.2 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.06338, allocations: 0.7183 MB / 406.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.06347, allocations: 43.7 kB / 407 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/0.06354, allocations: 8 kB / 407 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.06382, allocations: 27.97 kB / 407 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.06395, allocations: 47.86 kB / 407 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.06398, allocations: 12 kB / 407 MB, free: 3.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000356/0.06434, allocations: 303.1 kB / 407.3 MB, free: 3.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06434, allocations: 0 / 407.3 MB, free: 3.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006707/0.06501, allocations: 136 kB / 407.5 MB, free: 3.238 MB / 378.7 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.0001793/0.06519, allocations: 107.2 kB / 407.6 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002268/0.06746, allocations: 0.8313 MB / 408.4 MB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.06746, allocations: 448 / 408.4 MB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.06917, allocations: 0.6592 MB / 409.1 MB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.06993, allocations: 142.6 kB / 409.2 MB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.0722, allocations: 1.206 MB / 410.4 MB, free: 180 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.07263, allocations: 332.9 kB / 410.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002595/0.07289, allocations: 72.36 kB / 410.8 MB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.07302, allocations: 40.48 kB / 410.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of SimCode: time 8.12e-07/0.07302, allocations: 0 / 410.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of Templates: time 0.01608/0.0891, allocations: 7.257 MB / 418.1 MB, free: 8.574 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","/var/lib/jenkins/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: 5.079516127007082]