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.00109/0.00109, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001273/0.001273, allocations: 161 kB / 24.55 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.9982/0.9982, allocations: 177.1 MB / 205 MB, free: 5.246 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.2346/0.2346, allocations: 29.41 MB / 290.9 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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 1.633e-06/1.633e-06, allocations: 0 / 369.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.997e-05, allocations: 2.312 kB / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.0056/0.00562, allocations: 5.389 MB / 375 MB, free: 5.582 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.007832, allocations: 1.43 MB / 376.5 MB, free: 4.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.008152, allocations: 31.69 kB / 376.5 MB, free: 4.117 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.008664, allocations: 150.9 kB / 376.7 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007642/0.009429, allocations: 437.5 kB / 377.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.009974, allocations: 211.5 kB / 377.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009681/0.01094, allocations: 1.141 MB / 378.4 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.01125, allocations: 209.2 kB / 378.6 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009798/0.01223, allocations: 0.6976 MB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006041/0.01283, allocations: 498.7 kB / 379.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-05/0.01291, allocations: 60 kB / 379.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.01301, allocations: 60 kB / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.01323, allocations: 323.2 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.01343, allocations: 263.4 kB / 380.5 MB, free: 104 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006314/0.01406, allocations: 0.5645 MB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.01407, allocations: 4 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01407, allocations: 0 / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.01408, allocations: 4 kB / 381.1 MB, free: 15.53 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.001388/0.01547, allocations: 1.051 MB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.01552, allocations: 15.98 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.01569, allocations: 124.5 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.01625, allocations: 0.4967 MB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.01641, allocations: 216.1 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/0.01647, allocations: 52.38 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.01712, allocations: 0.5372 MB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.01713, allocations: 0 / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.01717, allocations: 24 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.778e-05/0.01725, allocations: 36.97 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.01766, allocations: 257.7 kB / 383.9 MB, free: 12.58 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.002247/0.0199, allocations: 2.496 MB / 386.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008127/0.02072, allocations: 406.2 kB / 386.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.02094, allocations: 143.3 kB / 386.9 MB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.02096, allocations: 11.75 kB / 386.9 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.021, allocations: 49.33 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 1.984e-06/0.021, allocations: 0 / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.00185/0.02285, allocations: 0.9409 MB / 387.9 MB, free: 8.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.02289, allocations: 81.11 kB / 388 MB, free: 8.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.02323, allocations: 410.6 kB / 388.4 MB, free: 7.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.02326, allocations: 33.7 kB / 388.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.02346, allocations: 379.4 kB / 388.8 MB, free: 7.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.811e-05/0.02356, allocations: 142.8 kB / 388.9 MB, free: 7.293 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.02368, allocations: 87.84 kB / 389 MB, free: 7.199 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.02384, allocations: 0.5313 MB / 389.5 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.024, allocations: 84.94 kB / 389.6 MB, free: 6.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.02424, allocations: 248.1 kB / 389.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.02465, allocations: 338.6 kB / 390.2 MB, free: 5.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02465, allocations: 4 kB / 390.2 MB, free: 5.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000648/0.0253, allocations: 428.3 kB / 390.6 MB, free: 5.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.02532, allocations: 8 kB / 390.6 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.02533, allocations: 4 kB / 390.6 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/0.02553, allocations: 51.28 kB / 390.7 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007624/0.02629, allocations: 231.8 kB / 390.9 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/0.02997, allocations: 7.437 MB / 398.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.03018, allocations: 35.92 kB / 398.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.03021, allocations: 16 kB / 398.4 MB, free: 13.16 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.0001551/0.03037, allocations: 180.6 kB / 398.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.03045, allocations: 55.72 kB / 398.6 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005655/0.03102, allocations: 360 kB / 399 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.03102, allocations: 4 kB / 399 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.03102, allocations: 4 kB / 399 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.03103, allocations: 3.984 kB / 399 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.0323, allocations: 0.9497 MB / 399.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.0323, allocations: 0 / 399.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008257/0.03313, allocations: 231.7 kB / 400.2 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.03332, allocations: 79.19 kB / 400.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.03335, allocations: 8 kB / 400.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.03507, allocations: 3.74 MB / 404 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.03507, allocations: 0 / 404 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.03581, allocations: 0.5932 MB / 404.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.03586, allocations: 47.67 kB / 404.6 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.0359, allocations: 8.125 kB / 404.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.0361, allocations: 31.95 kB / 404.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.0362, allocations: 43.88 kB / 404.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.03622, allocations: 19.92 kB / 404.7 MB, free: 6.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001902/0.03641, allocations: 259.1 kB / 405 MB, free: 6.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03641, allocations: 0 / 405 MB, free: 6.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005413/0.03695, allocations: 136 kB / 405.1 MB, free: 6.059 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.000117/0.03707, allocations: 123.1 kB / 405.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.03828, allocations: 0.7414 MB / 406 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.03828, allocations: 0 / 406 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008914/0.03918, allocations: 0.6167 MB / 406.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.03973, allocations: 125.6 kB / 406.7 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.04172, allocations: 1.179 MB / 407.9 MB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.04187, allocations: 185.7 kB / 408.1 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.04206, allocations: 72.36 kB / 408.2 MB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.04217, allocations: 36.5 kB / 408.2 MB, free: 2.836 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.04217, allocations: 0 / 408.2 MB, free: 2.836 MB / 378.7 MB Notification: Performance of Templates: time 0.01142/0.05358, allocations: 7.604 MB / 415.8 MB, free: 11.35 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","",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.3630615118891]