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.0009308/0.0009307, allocations: 89.33 kB / 16.65 MB, free: 6.598 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.00113/0.00113, allocations: 183 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.187/1.187, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.154/0.154, allocations: 38.09 MB / 330.8 MB, free: 8.52 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002714, allocations: 12.7 kB / 400.7 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0881/0.08839, allocations: 59.16 MB / 459.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004273/0.0927, allocations: 4.191 MB / 464.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.09431, allocations: 1.044 MB / 465.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/0.0946, allocations: 23.81 kB / 465.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.09476, allocations: 35.7 kB / 465.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.09519, allocations: 147.3 kB / 465.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.09538, allocations: 75.86 kB / 465.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004653/0.09586, allocations: 0.4985 MB / 465.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.09601, allocations: 68.78 kB / 466 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.09625, allocations: 139.2 kB / 466.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.09653, allocations: 163.4 kB / 466.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.09657, allocations: 12 kB / 466.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.619e-05/0.09662, allocations: 8 kB / 466.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.23e-05/0.0967, allocations: 83.72 kB / 466.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.09683, allocations: 137.1 kB / 466.5 MB, free: 404 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.09704, allocations: 247 kB / 466.7 MB, free: 156 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.09705, allocations: 3.938 kB / 466.7 MB, free: 152 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09705, allocations: 0 / 466.7 MB, free: 152 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.09707, allocations: 0 / 466.7 MB, free: 152 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006842/0.09775, allocations: 0.5156 MB / 467.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.09779, allocations: 12.03 kB / 467.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.09786, allocations: 24.66 kB / 467.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.09821, allocations: 311.9 kB / 467.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.09824, allocations: 20.38 kB / 467.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.09828, allocations: 19.94 kB / 467.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.09862, allocations: 262.1 kB / 467.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.09864, allocations: 7.938 kB / 467.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.09867, allocations: 11.98 kB / 467.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.09868, allocations: 8 kB / 467.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.09891, allocations: 155.8 kB / 468.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.1, allocations: 1.191 MB / 469.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1001, allocations: 77.14 kB / 469.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.1002, allocations: 29.78 kB / 469.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.1002, allocations: 0 / 469.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1002, allocations: 34.56 kB / 469.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.1002, allocations: 4 kB / 469.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006094/0.1009, allocations: 416.7 kB / 469.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1009, allocations: 85.09 kB / 469.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1011, allocations: 238.6 kB / 470.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1011, allocations: 25.7 kB / 470.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1013, allocations: 199.7 kB / 470.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.1013, allocations: 27.56 kB / 470.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.1013, allocations: 21.7 kB / 470.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.1014, allocations: 342.8 kB / 470.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-05/0.1015, allocations: 16 kB / 470.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.1016, allocations: 130.9 kB / 470.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.1017, allocations: 168.7 kB / 471 MB, free: 11.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1017, allocations: 4 kB / 471 MB, free: 11.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002262/0.102, allocations: 173.5 kB / 471.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.102, allocations: 8.062 kB / 471.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.102, allocations: 4 kB / 471.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.102, allocations: 7.938 kB / 471.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1021, allocations: 43.92 kB / 471.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1022, allocations: 8 kB / 471.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.844e-05/0.1023, allocations: 7.984 kB / 471.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1023, allocations: 12 kB / 471.3 MB, free: 11.13 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.1024, allocations: 149.6 kB / 471.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.1024, allocations: 19.72 kB / 471.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.1026, allocations: 111.2 kB / 471.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1026, allocations: 0 / 471.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1026, allocations: 0 / 471.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1026, allocations: 4 kB / 471.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.103, allocations: 423.2 kB / 472 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.103, allocations: 0 / 472 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/0.1031, allocations: 16 kB / 472 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1031, allocations: 0 / 472 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1031, allocations: 4.031 kB / 472 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.1031, allocations: 7.984 kB / 472 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1031, allocations: 0 / 472 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.1033, allocations: 228.9 kB / 472.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.1034, allocations: 96.83 kB / 472.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.1034, allocations: 0 / 472.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.1035, allocations: 8.062 kB / 472.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.1035, allocations: 11.92 kB / 472.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1035, allocations: 4 kB / 472.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1037, allocations: 170 kB / 472.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1037, allocations: 0 / 472.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.104, allocations: 40 kB / 472.6 MB, free: 9.754 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.421e-05/0.1041, allocations: 91.25 kB / 472.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.1042, allocations: 95.77 kB / 472.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1042, allocations: 0 / 472.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.1043, allocations: 32.39 kB / 472.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1047, allocations: 57.94 kB / 472.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007097/0.1054, allocations: 0.6291 MB / 473.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1057, allocations: 0.7599 MB / 474.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.779e-05/0.1058, allocations: 34.27 kB / 474.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.1059, allocations: 15.44 kB / 474.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1059, allocations: 0 / 474.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of Templates: time 0.003914/0.1098, allocations: 1.681 MB / 475.9 MB, free: 6.316 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