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.00134/0.00134, allocations: 81.86 kB / 21.42 MB, free: 3.07 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.002055/0.002055, allocations: 168.8 kB / 24.82 MB, free: 8.395 MB / 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.112/1.112, allocations: 177.2 MB / 205.3 MB, free: 5.121 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.2818/0.2818, allocations: 29.42 MB / 291.2 MB, free: 2.348 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.714e-06/1.714e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.08e-05, allocations: 2.312 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005416/0.005436, allocations: 5.338 MB / 375.5 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.007355, allocations: 1.422 MB / 376.9 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.007614, allocations: 31.69 kB / 376.9 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.008099, allocations: 146.9 kB / 377.1 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005265/0.008625, allocations: 433.5 kB / 377.5 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.008973, allocations: 219.4 kB / 377.7 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008865/0.009859, allocations: 1.141 MB / 378.8 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.01019, allocations: 209.2 kB / 379 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008186/0.01101, allocations: 0.7014 MB / 379.7 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004874/0.01149, allocations: 490.7 kB / 380.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.768e-05/0.01156, allocations: 60 kB / 380.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.682e-05/0.01165, allocations: 60 kB / 380.3 MB, free: 460 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.01188, allocations: 327.2 kB / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.01209, allocations: 263.4 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.01262, allocations: 0.5645 MB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.01262, allocations: 0 / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.01263, allocations: 0 / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.01263, allocations: 4 kB / 381.5 MB, free: 15.3 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.001166/0.0138, allocations: 1.027 MB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.01384, allocations: 11.98 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.01398, allocations: 124.5 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.01455, allocations: 488.7 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.01474, allocations: 212.1 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.01482, allocations: 60.38 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005631/0.01538, allocations: 0.4981 MB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.0154, allocations: 3.938 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.01543, allocations: 24 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-05/0.01552, allocations: 28.98 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.01579, allocations: 206.6 kB / 384.1 MB, free: 12.49 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.002085/0.01788, allocations: 2.348 MB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.01839, allocations: 348.8 kB / 386.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.01852, allocations: 119.4 kB / 386.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.01855, allocations: 7.75 kB / 386.9 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.01858, allocations: 45.39 kB / 387 MB, free: 9.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 1.453e-06/0.01858, allocations: 0 / 387 MB, free: 9.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.00131/0.01989, allocations: 0.7197 MB / 387.7 MB, free: 8.742 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.01993, allocations: 81.11 kB / 387.8 MB, free: 8.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.02018, allocations: 406.4 kB / 388.2 MB, free: 8.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.02021, allocations: 33.7 kB / 388.2 MB, free: 8.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.0204, allocations: 383.3 kB / 388.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/0.02048, allocations: 142.7 kB / 388.7 MB, free: 7.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.02059, allocations: 95.75 kB / 388.8 MB, free: 7.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.02077, allocations: 0.5429 MB / 389.4 MB, free: 7.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.02085, allocations: 60.95 kB / 389.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.02101, allocations: 224.2 kB / 389.7 MB, free: 6.676 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.02128, allocations: 306.6 kB / 390 MB, free: 6.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.02128, allocations: 4 kB / 390 MB, free: 6.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004411/0.02172, allocations: 384.3 kB / 390.3 MB, free: 5.918 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.02174, allocations: 8 kB / 390.3 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.02175, allocations: 0 / 390.3 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.02192, allocations: 55.28 kB / 390.4 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.02243, allocations: 215.9 kB / 390.6 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/0.026, allocations: 7.345 MB / 397.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.02615, allocations: 23.98 kB / 398 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.02616, allocations: 12 kB / 398 MB, free: 13.8 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.000566/0.02673, allocations: 192.5 kB / 398.2 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.02679, allocations: 55.72 kB / 398.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.02719, allocations: 328 kB / 398.5 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.02719, allocations: 4 kB / 398.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.0272, allocations: 7.938 kB / 398.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.0272, allocations: 0 / 398.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009051/0.02811, allocations: 0.8093 MB / 399.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.02811, allocations: 0 / 399.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.02868, allocations: 231.7 kB / 399.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/0.02883, allocations: 59.33 kB / 399.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.02885, allocations: 11.98 kB / 399.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.0302, allocations: 3.678 MB / 403.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.0302, allocations: 3.984 kB / 403.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.03076, allocations: 0.5502 MB / 403.9 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.0308, allocations: 43.72 kB / 403.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.03083, allocations: 24.05 kB / 404 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.03095, allocations: 19.92 kB / 404 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.03102, allocations: 39.88 kB / 404 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.03104, allocations: 4 kB / 404 MB, free: 7.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.03118, allocations: 259 kB / 404.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03118, allocations: 0 / 404.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000402/0.03158, allocations: 136 kB / 404.4 MB, free: 7.02 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.0001454/0.03173, allocations: 107.2 kB / 404.5 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.0329, allocations: 0.71 MB / 405.2 MB, free: 6.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.03291, allocations: 0.5625 kB / 405.2 MB, free: 6.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006251/0.03353, allocations: 0.5974 MB / 405.8 MB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.03396, allocations: 122.8 kB / 405.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.0357, allocations: 1.175 MB / 407.1 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.03582, allocations: 185.7 kB / 407.3 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.03597, allocations: 56.38 kB / 407.4 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.03618, allocations: 174.1 kB / 407.5 MB, free: 3.758 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.03619, allocations: 0 / 407.5 MB, free: 3.758 MB / 378.7 MB Notification: Performance of Templates: time 0.01032/0.0465, allocations: 7.772 MB / 415.3 MB, free: 12.11 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.5534399542957544]