Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001948/0.001947, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.1 MB / 223.1 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001168, allocations: 99.91 kB / 270.5 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1772/0.1772, allocations: 38.01 MB / 355.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 51.92 kB / 421.9 MB, free: 37.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3702, allocations: 55.24 MB / 477.1 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.006116/0.3764, allocations: 4.573 MB / 481.7 MB, free: 6.672 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.3784, allocations: 1.102 MB / 482.8 MB, free: 5.887 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.3787, allocations: 26.53 kB / 482.8 MB, free: 5.875 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.3789, allocations: 33.47 kB / 482.8 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004686/0.3794, allocations: 148.7 kB / 483 MB, free: 5.773 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.3796, allocations: 75.03 kB / 483.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006028/0.3803, allocations: 0.4976 MB / 483.5 MB, free: 5.555 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.3805, allocations: 77.59 kB / 483.6 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.3807, allocations: 148.8 kB / 483.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.3811, allocations: 167.7 kB / 483.9 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.3811, allocations: 10.38 kB / 483.9 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.826e-05/0.3812, allocations: 12.22 kB / 484 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.3813, allocations: 75.66 kB / 484 MB, free: 5.371 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.3815, allocations: 118.8 kB / 484.1 MB, free: 5.305 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.3818, allocations: 251.7 kB / 484.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3818, allocations: 0 / 484.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3819, allocations: 5.312 kB / 484.4 MB, free: 5.195 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.3819, allocations: 0 / 484.4 MB, free: 5.195 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009241/0.3828, allocations: 0.5509 MB / 484.9 MB, free: 4.727 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3829, allocations: 9.156 kB / 485 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.3829, allocations: 30.03 kB / 485 MB, free: 4.711 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.3834, allocations: 308.3 kB / 485.3 MB, free: 4.453 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.3834, allocations: 15.94 kB / 485.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.3834, allocations: 21.28 kB / 485.3 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.3838, allocations: 270.3 kB / 485.6 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3838, allocations: 4 kB / 485.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.3839, allocations: 7.359 kB / 485.6 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.3839, allocations: 6.188 kB / 485.6 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.3842, allocations: 163.8 kB / 485.8 MB, free: 4.207 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3853, allocations: 1.174 MB / 486.9 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3855, allocations: 79.06 kB / 487 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.3856, allocations: 42.89 kB / 487.1 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3856, allocations: 5.375 kB / 487.1 MB, free: 3.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.3856, allocations: 36.62 kB / 487.1 MB, free: 3.047 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.3856, allocations: 0 / 487.1 MB, free: 3.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007118/0.3863, allocations: 409.5 kB / 487.5 MB, free: 2.691 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.3864, allocations: 82.61 kB / 487.6 MB, free: 2.594 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.3866, allocations: 245.3 kB / 487.8 MB, free: 2.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.3866, allocations: 25.7 kB / 487.8 MB, free: 2.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3867, allocations: 193.5 kB / 488 MB, free: 2.246 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.3868, allocations: 30.17 kB / 488.1 MB, free: 2.223 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.3868, allocations: 46.17 kB / 488.1 MB, free: 2.188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.3869, allocations: 330 kB / 488.4 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.387, allocations: 26.83 kB / 488.5 MB, free: 1.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.457e-05/0.3871, allocations: 126.2 kB / 488.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3872, allocations: 165 kB / 488.7 MB, free: 1.555 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3872, allocations: 0 / 488.7 MB, free: 1.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002526/0.3875, allocations: 186.8 kB / 488.9 MB, free: 1.457 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3875, allocations: 6.875 kB / 488.9 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3875, allocations: 8.062 kB / 488.9 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.3876, allocations: 4.828 kB / 488.9 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.3877, allocations: 44.31 kB / 489 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3878, allocations: 6.062 kB / 489 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.562e-05/0.3879, allocations: 4.938 kB / 489 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.3879, allocations: 15.66 kB / 489 MB, free: 1.438 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.388, allocations: 151 kB / 489.2 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.388, allocations: 21.98 kB / 489.2 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.3882, allocations: 102.3 kB / 489.3 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3882, allocations: 2.562 kB / 489.3 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3882, allocations: 0 / 489.3 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3882, allocations: 2.031 kB / 489.3 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.3887, allocations: 425 kB / 489.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3887, allocations: 1.859 kB / 489.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/0.3888, allocations: 16.3 kB / 489.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3888, allocations: 1.125 kB / 489.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3888, allocations: 1.906 kB / 489.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3888, allocations: 1.062 kB / 489.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3888, allocations: 5.531 kB / 489.7 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.39, allocations: 1.289 MB / 491 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.3901, allocations: 91.81 kB / 491.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3901, allocations: 6.25 kB / 491.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/0.3902, allocations: 6.062 kB / 491.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.3902, allocations: 9.125 kB / 491.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3902, allocations: 2.344 kB / 491.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000165/0.3904, allocations: 170.4 kB / 491.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3904, allocations: 0 / 491.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003952/0.3908, allocations: 55.52 kB / 491.3 MB, free: 15.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0001084/0.3909, allocations: 103.4 kB / 491.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.3911, allocations: 85.27 kB / 491.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3911, allocations: 0 / 491.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.3912, allocations: 27.16 kB / 491.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.3917, allocations: 52.95 kB / 491.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3927, allocations: 0.7095 MB / 492.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.3931, allocations: 0.7597 MB / 493.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.3933, allocations: 30.19 kB / 493.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.3933, allocations: 19.47 kB / 493.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3933, allocations: 3.938 kB / 493.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of Templates: time 0.005433/0.3988, allocations: 1.801 MB / 494.9 MB, free: 13.84 MB / 330.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches