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.000975/0.000975, allocations: 81.97 kB / 22.21 MB, free: 2.293 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.0009764/0.0009764, allocations: 166.5 kB / 25.61 MB, free: 8.457 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 0.9433/0.9433, allocations: 177.1 MB / 206 MB, free: 4.461 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.1251/0.1251, allocations: 29.43 MB / 292 MB, free: 2.629 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.563e-06/1.563e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.525e-05, allocations: 2.312 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.004738/0.004773, allocations: 5.34 MB / 376.2 MB, free: 26.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.006793, allocations: 1.426 MB / 377.7 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003813/0.007174, allocations: 39.69 kB / 377.7 MB, free: 25.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.007693, allocations: 142.9 kB / 377.8 MB, free: 25.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000689/0.008382, allocations: 425.5 kB / 378.3 MB, free: 24.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.008859, allocations: 219.5 kB / 378.5 MB, free: 24.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008362/0.009696, allocations: 1.145 MB / 379.6 MB, free: 23.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.01, allocations: 225.2 kB / 379.8 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009166/0.01092, allocations: 0.6936 MB / 380.5 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.01142, allocations: 486.8 kB / 381 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.516e-05/0.0115, allocations: 60 kB / 381.1 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.01158, allocations: 60 kB / 381.1 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.01178, allocations: 335.2 kB / 381.4 MB, free: 21.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.01196, allocations: 263.4 kB / 381.7 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.01243, allocations: 0.5606 MB / 382.3 MB, free: 20.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.01244, allocations: 0 / 382.3 MB, free: 20.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01244, allocations: 0 / 382.3 MB, free: 20.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.01246, allocations: 0 / 382.3 MB, free: 20.9 MB / 314.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.001147/0.0136, allocations: 1.031 MB / 383.3 MB, free: 19.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.01365, allocations: 12.03 kB / 383.3 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.01379, allocations: 124.5 kB / 383.4 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.01429, allocations: 480.8 kB / 383.9 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.01441, allocations: 220.1 kB / 384.1 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.01447, allocations: 64.27 kB / 384.2 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.01494, allocations: 0.4942 MB / 384.7 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.01496, allocations: 0 / 384.7 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.01499, allocations: 24 kB / 384.7 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.478e-05/0.01507, allocations: 32.92 kB / 384.7 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.01548, allocations: 210.6 kB / 384.9 MB, free: 18.08 MB / 314.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.002495/0.01797, allocations: 2.34 MB / 387.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.01846, allocations: 342.2 kB / 387.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.01857, allocations: 115.4 kB / 387.7 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.0186, allocations: 8 kB / 387.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.01862, allocations: 46.89 kB / 387.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.424e-06/0.01863, allocations: 0 / 387.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.0012/0.01983, allocations: 0.7236 MB / 388.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.01985, allocations: 84.86 kB / 388.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.02003, allocations: 410.4 kB / 389 MB, free: 13.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.02005, allocations: 33.7 kB / 389 MB, free: 13.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.02016, allocations: 375.4 kB / 389.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.02022, allocations: 142.8 kB / 389.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.0203, allocations: 91.77 kB / 389.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.02036, allocations: 0.539 MB / 390.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.02043, allocations: 60.95 kB / 390.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.02055, allocations: 220.2 kB / 390.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.02077, allocations: 314.6 kB / 390.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.02077, allocations: 0 / 390.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000378/0.02115, allocations: 380.5 kB / 391.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.02116, allocations: 10.09 kB / 391.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.02117, allocations: 4 kB / 391.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.02131, allocations: 51.33 kB / 391.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.02183, allocations: 219.7 kB / 391.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.02373, allocations: 7.341 MB / 398.7 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.02389, allocations: 23.98 kB / 398.7 MB, free: 3.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.02391, allocations: 19.98 kB / 398.8 MB, free: 3.406 MB / 314.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.0001354/0.02404, allocations: 188.3 kB / 398.9 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.0241, allocations: 55.81 kB / 399 MB, free: 3.156 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.02443, allocations: 328.1 kB / 399.3 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.02444, allocations: 4 kB / 399.3 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.02444, allocations: 3.938 kB / 399.3 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.02445, allocations: 3.984 kB / 399.3 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007469/0.02519, allocations: 0.8017 MB / 400.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.0252, allocations: 4 kB / 400.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.02575, allocations: 227.7 kB / 400.4 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.02588, allocations: 63.27 kB / 400.4 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.0259, allocations: 15.98 kB / 400.4 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.02707, allocations: 3.682 MB / 404.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02707, allocations: 0 / 404.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000537/0.02761, allocations: 0.5425 MB / 404.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.02765, allocations: 43.67 kB / 404.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.02769, allocations: 11.98 kB / 404.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.02782, allocations: 24.05 kB / 404.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/0.02789, allocations: 39.88 kB / 404.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.02791, allocations: 4 kB / 404.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.02804, allocations: 259 kB / 405 MB, free: 12.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02804, allocations: 0 / 405 MB, free: 12.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004222/0.02846, allocations: 136 kB / 405.2 MB, free: 12.64 MB / 330.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.0001151/0.02858, allocations: 107.1 kB / 405.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008612/0.02944, allocations: 0.7139 MB / 406 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.02944, allocations: 4 kB / 406 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.03009, allocations: 0.5979 MB / 406.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.03053, allocations: 121.4 kB / 406.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.03213, allocations: 1.193 MB / 407.9 MB, free: 9.785 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.03225, allocations: 181.6 kB / 408.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.03241, allocations: 60.38 kB / 408.1 MB, free: 9.523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.03263, allocations: 178.1 kB / 408.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03263, allocations: 0 / 408.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of Templates: time 0.01029/0.04292, allocations: 7.911 MB / 416.2 MB, free: 1.578 MB / 330.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.3158821603283286]