Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001736/0.001736, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001856/0.001856, allocations: 211.7 kB / 23.73 MB, free: 4.16 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1963/0.1963, allocations: 38.55 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 179] 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.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3703,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3703,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [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.002131/0.002131, allocations: 67.89 kB / 493 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4566, allocations: 62.46 MB / 0.5424 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.007263/0.4639, allocations: 4.02 MB / 0.5464 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.4659, allocations: 0.8291 MB / 0.5472 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.4661, allocations: 14.81 kB / 0.5472 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.4663, allocations: 52.25 kB / 0.5472 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005587/0.4669, allocations: 171.4 kB / 0.5474 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.4671, allocations: 81.09 kB / 0.5475 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005517/0.4677, allocations: 397.3 kB / 0.5478 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.4679, allocations: 75.22 kB / 0.5479 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.4683, allocations: 188 kB / 0.5481 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.4687, allocations: 186.3 kB / 0.5483 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.4687, allocations: 19.59 kB / 0.5483 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.97e-05/0.4688, allocations: 25.75 kB / 0.5483 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.4689, allocations: 80.89 kB / 0.5484 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.4691, allocations: 113.8 kB / 0.5485 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.4695, allocations: 294.7 kB / 0.5488 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4695, allocations: 0 / 0.5488 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4695, allocations: 0 / 0.5488 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.4695, allocations: 0 / 0.5488 GB, free: 11.6 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001184/0.4707, allocations: 0.5338 MB / 0.5493 GB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.4707, allocations: 13.33 kB / 0.5493 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.837e-05/0.4708, allocations: 32.25 kB / 0.5494 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007484/0.4716, allocations: 276.1 kB / 0.5496 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.4716, allocations: 17.44 kB / 0.5496 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.4718, allocations: 42.7 kB / 0.5497 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.4724, allocations: 292.7 kB / 0.55 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.4724, allocations: 0.9375 kB / 0.55 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.4724, allocations: 18.3 kB / 0.55 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.4724, allocations: 5.219 kB / 0.55 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.4728, allocations: 198.1 kB / 0.5502 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.4745, allocations: 1.147 MB / 0.5513 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.4748, allocations: 118 kB / 0.5514 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/0.4749, allocations: 44.97 kB / 0.5514 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.4749, allocations: 1.969 kB / 0.5514 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.475, allocations: 36.69 kB / 0.5515 GB, free: 9.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.475, allocations: 0 / 0.5515 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001037/0.476, allocations: 464.9 kB / 0.5519 GB, free: 8.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.677e-05/0.4761, allocations: 105.7 kB / 0.552 GB, free: 8.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.4764, allocations: 244.5 kB / 0.5523 GB, free: 8.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.4764, allocations: 31.08 kB / 0.5523 GB, free: 8.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.4766, allocations: 205.4 kB / 0.5525 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.4766, allocations: 44.31 kB / 0.5525 GB, free: 8.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.4767, allocations: 48.38 kB / 0.5526 GB, free: 8.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4769, allocations: 336.5 kB / 0.5529 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.477, allocations: 36.77 kB / 0.5529 GB, free: 7.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.4772, allocations: 131.2 kB / 0.553 GB, free: 7.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.4775, allocations: 195.9 kB / 0.5532 GB, free: 7.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4775, allocations: 1.25 kB / 0.5532 GB, free: 7.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004684/0.4779, allocations: 230.6 kB / 0.5535 GB, free: 7.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4779, allocations: 10.72 kB / 0.5535 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.478, allocations: 3.438 kB / 0.5535 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.4781, allocations: 26.25 kB / 0.5535 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.4784, allocations: 60.08 kB / 0.5536 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.4784, allocations: 7.406 kB / 0.5536 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.4786, allocations: 9.094 kB / 0.5536 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.4786, allocations: 20.11 kB / 0.5536 GB, free: 7.473 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.4788, allocations: 146.8 kB / 0.5537 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.4788, allocations: 22.55 kB / 0.5537 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.4792, allocations: 141.3 kB / 0.5539 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4792, allocations: 2.188 kB / 0.5539 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.4792, allocations: 5.031 kB / 0.5539 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4792, allocations: 5.266 kB / 0.5539 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.4795, allocations: 200.5 kB / 0.5541 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4795, allocations: 5 kB / 0.5541 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.4797, allocations: 33.8 kB / 0.5541 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4797, allocations: 2.156 kB / 0.5541 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4797, allocations: 5 kB / 0.5541 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4797, allocations: 2.219 kB / 0.5541 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/0.4797, allocations: 3.984 kB / 0.5541 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.4802, allocations: 369.8 kB / 0.5545 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.4803, allocations: 21.42 kB / 0.5545 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.4803, allocations: 2.25 kB / 0.5545 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.4805, allocations: 6.094 kB / 0.5545 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.4805, allocations: 15.42 kB / 0.5545 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.4805, allocations: 11.67 kB / 0.5545 GB, free: 6.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.4807, allocations: 169.2 kB / 0.5547 GB, free: 6.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4807, allocations: 0 / 0.5547 GB, free: 6.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003631/0.481, allocations: 46 kB / 0.5547 GB, free: 6.555 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001351/0.4812, allocations: 100.6 kB / 0.5548 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003539/0.4815, allocations: 130.8 kB / 0.555 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4815, allocations: 192 / 0.555 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.4816, allocations: 51.83 kB / 0.555 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.4822, allocations: 56.34 kB / 0.5551 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.4834, allocations: 0.6114 MB / 0.5557 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.4836, allocations: 154.5 kB / 0.5558 GB, free: 5.781 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.4837, allocations: 36.73 kB / 0.5559 GB, free: 5.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.02e-05/0.4838, allocations: 31.39 kB / 0.5559 GB, free: 5.742 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4838, allocations: 0 / 0.5559 GB, free: 5.742 MB / 398.1 MB Notification: Performance of Templates: time 0.006989/0.4908, allocations: 2.596 MB / 0.5584 GB, free: 3.316 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.523998847231269]