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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 98.14 kB / 16.3 MB, free: 5.562 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.001076/0.001076, allocations: 184.6 kB / 17.19 MB, free: 5.496 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.246/1.246, allocations: 223.2 MB / 241.1 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1861/0.1861, allocations: 38.08 MB / 330.3 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 12 kB / 400 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09278, allocations: 59.17 MB / 459.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004205/0.09702, allocations: 3.862 MB / 463 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.0984, allocations: 1.022 MB / 464 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.09858, allocations: 27.81 kB / 464 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.09871, allocations: 43.66 kB / 464.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.09909, allocations: 187.4 kB / 464.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.09928, allocations: 95.88 kB / 464.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.09953, allocations: 211.5 kB / 464.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.0997, allocations: 72.72 kB / 464.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.09988, allocations: 127.5 kB / 464.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1001, allocations: 119.5 kB / 464.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.1001, allocations: 8 kB / 464.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.94e-05/0.1002, allocations: 8 kB / 464.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.1002, allocations: 71.8 kB / 465 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.1003, allocations: 77.56 kB / 465 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.1005, allocations: 179.5 kB / 465.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1005, allocations: 0 / 465.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1005, allocations: 0 / 465.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1005, allocations: 0 / 465.2 MB, free: 1.293 MB / 334.1 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.0007031/0.1012, allocations: 0.5231 MB / 465.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.1013, allocations: 12.03 kB / 465.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.1013, allocations: 23.72 kB / 465.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.1017, allocations: 298.8 kB / 466.1 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1017, allocations: 16.39 kB / 466.1 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.1018, allocations: 20 kB / 466.1 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.1021, allocations: 270 kB / 466.4 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1021, allocations: 3.938 kB / 466.4 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.1021, allocations: 8 kB / 466.4 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.1022, allocations: 4 kB / 466.4 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.1024, allocations: 159.8 kB / 466.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.1035, allocations: 1.175 MB / 467.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1036, allocations: 85.19 kB / 467.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.1036, allocations: 3.938 kB / 467.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1037, allocations: 34.62 kB / 467.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1037, allocations: 0 / 467.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005751/0.1042, allocations: 408.8 kB / 468.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1043, allocations: 85.22 kB / 468.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.1045, allocations: 242.5 kB / 468.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1045, allocations: 25.7 kB / 468.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1046, allocations: 187.7 kB / 468.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.1047, allocations: 31.55 kB / 468.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.1047, allocations: 8 kB / 468.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.1048, allocations: 330.8 kB / 469.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.1048, allocations: 28.3 kB / 469.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.772e-05/0.1049, allocations: 127.6 kB / 469.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.728e-05/0.105, allocations: 43.98 kB / 469.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.105, allocations: 0 / 469.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002259/0.1052, allocations: 189 kB / 469.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1053, allocations: 4 kB / 469.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1053, allocations: 4 kB / 469.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1053, allocations: 8 kB / 469.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1054, allocations: 40.36 kB / 469.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.1055, allocations: 11.94 kB / 469.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-05/0.1056, allocations: 8 kB / 469.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1056, allocations: 8 kB / 469.6 MB, free: 12.53 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.1057, allocations: 149.7 kB / 469.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.1057, allocations: 23.75 kB / 469.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.1059, allocations: 91.39 kB / 469.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1059, allocations: 0 / 469.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1059, allocations: 448 / 469.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1059, allocations: 8 kB / 469.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.1063, allocations: 427.2 kB / 470.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1063, allocations: 4 kB / 470.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.113e-05/0.1064, allocations: 16 kB / 470.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1064, allocations: 0 / 470.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.1064, allocations: 4 kB / 470.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1064, allocations: 7.938 kB / 470.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.1064, allocations: 3.984 kB / 470.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.1066, allocations: 248.7 kB / 470.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.1067, allocations: 104.8 kB / 470.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.1067, allocations: 0 / 470.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.1068, allocations: 4 kB / 470.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.1068, allocations: 8.047 kB / 470.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1069, allocations: 8 kB / 470.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.107, allocations: 166 kB / 470.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.107, allocations: 0 / 470.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1073, allocations: 43.95 kB / 470.9 MB, free: 11.12 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.381e-05/0.1074, allocations: 95.34 kB / 471 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1075, allocations: 100.1 kB / 471.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1075, allocations: 0 / 471.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.1076, allocations: 31.92 kB / 471.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.1079, allocations: 44.53 kB / 471.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.1086, allocations: 0.6179 MB / 471.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1089, allocations: 0.7638 MB / 472.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.966e-05/0.109, allocations: 26.28 kB / 472.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.109, allocations: 19.44 kB / 472.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.109, allocations: 0 / 472.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of Templates: time 0.003615/0.1126, allocations: 1.617 MB / 474.2 MB, free: 7.754 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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