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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7406,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=7406,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000679/0.0006789, allocations: 92.8 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007543/0.0007543, allocations: 181.9 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1538/0.1538, allocations: 38.08 MB / 330.8 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002635, allocations: 12 kB / 400.7 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.08452, allocations: 59.16 MB / 459.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.00402/0.08859, allocations: 4.144 MB / 464 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.08978, allocations: 0.9701 MB / 465 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.08993, allocations: 15.88 kB / 465 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.09007, allocations: 35.7 kB / 465 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.09039, allocations: 151.3 kB / 465.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.09054, allocations: 71.86 kB / 465.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.09096, allocations: 0.518 MB / 465.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.09115, allocations: 97.67 kB / 465.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.09135, allocations: 147.2 kB / 466 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.09163, allocations: 179.3 kB / 466.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.09167, allocations: 12 kB / 466.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.375e-05/0.09171, allocations: 12 kB / 466.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.09179, allocations: 71.73 kB / 466.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.09192, allocations: 160.9 kB / 466.5 MB, free: 488 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.09216, allocations: 274.8 kB / 466.7 MB, free: 212 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.09217, allocations: 0 / 466.7 MB, free: 212 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09217, allocations: 0 / 466.7 MB, free: 212 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.09218, allocations: 0 / 466.7 MB, free: 212 kB / 334.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.000799/0.09299, allocations: 0.5466 MB / 467.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.09303, allocations: 8.031 kB / 467.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.09309, allocations: 32.56 kB / 467.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.09349, allocations: 326.9 kB / 467.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.09352, allocations: 16.81 kB / 467.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.09364, allocations: 40.11 kB / 467.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.09401, allocations: 286 kB / 468 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.09403, allocations: 4 kB / 468 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.09406, allocations: 8 kB / 468 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.09407, allocations: 4 kB / 468 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.09434, allocations: 191.8 kB / 468.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.0956, allocations: 1.284 MB / 469.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.09585, allocations: 119.8 kB / 469.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.09593, allocations: 50.62 kB / 469.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.09595, allocations: 0 / 469.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.09598, allocations: 38.5 kB / 469.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 9.31e-07/0.09599, allocations: 0 / 469.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007442/0.09674, allocations: 0.5232 MB / 470.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.0968, allocations: 106.8 kB / 470.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.09699, allocations: 242.7 kB / 470.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.09701, allocations: 25.95 kB / 470.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.09712, allocations: 203.5 kB / 470.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.09716, allocations: 39.45 kB / 470.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.09719, allocations: 21.72 kB / 470.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.09729, allocations: 338.8 kB / 471.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.09737, allocations: 39.97 kB / 471.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.09748, allocations: 139.8 kB / 471.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.09768, allocations: 187.8 kB / 471.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.09769, allocations: 0 / 471.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003544/0.09805, allocations: 233.8 kB / 471.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.09807, allocations: 8.391 kB / 471.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.09808, allocations: 4.094 kB / 471.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001059/0.0982, allocations: 32.78 kB / 471.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.0985, allocations: 63.83 kB / 471.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.09852, allocations: 8 kB / 471.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.09864, allocations: 8 kB / 471.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.09866, allocations: 8 kB / 471.8 MB, free: 10.6 MB / 350.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.0001227/0.09878, allocations: 149.8 kB / 472 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.09885, allocations: 23.72 kB / 472 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.09908, allocations: 163.2 kB / 472.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.0991, allocations: 7.938 kB / 472.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.09911, allocations: 0 / 472.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.09912, allocations: 0 / 472.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.09943, allocations: 281.5 kB / 472.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.09944, allocations: 4 kB / 472.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.09959, allocations: 31.97 kB / 472.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.0996, allocations: 0 / 472.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.09962, allocations: 12 kB / 472.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.09963, allocations: 3.938 kB / 472.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.09963, allocations: 7.938 kB / 472.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.09995, allocations: 347.4 kB / 472.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.1, allocations: 100.8 kB / 473 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1, allocations: 7.984 kB / 473 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.1002, allocations: 12 kB / 473 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.1002, allocations: 7.984 kB / 473 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1002, allocations: 4 kB / 473 MB, free: 9.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1004, allocations: 170 kB / 473.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1004, allocations: 0 / 473.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.1007, allocations: 44 kB / 473.2 MB, free: 9.148 MB / 350.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 9.571e-05/0.1008, allocations: 103.2 kB / 473.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002871/0.1011, allocations: 213.7 kB / 473.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1011, allocations: 0 / 473.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.1012, allocations: 51.92 kB / 473.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.1017, allocations: 53.41 kB / 473.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000823/0.1025, allocations: 0.7684 MB / 474.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1028, allocations: 0.7716 MB / 475.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.783e-05/0.1029, allocations: 34.27 kB / 475.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.1029, allocations: 23.42 kB / 475.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1029, allocations: 0 / 475.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of Templates: time 0.004238/0.1072, allocations: 2.086 MB / 477.3 MB, free: 4.98 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches