Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009738/0.000974, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.317/1.317, allocations: 205.4 MB / 223.5 MB, free: 9.027 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.0007491/0.0007491, allocations: 93.48 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2419/0.2419, allocations: 38.09 MB / 358.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005785/0.0005786, allocations: 12 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3298, allocations: 56.32 MB / 481.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.4562, allocations: 95.14 MB / 0.5632 GB, free: 7.117 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.4565, allocations: 91.8 kB / 0.5633 GB, free: 7.031 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02715/0.4837, allocations: 10.18 MB / 0.5732 GB, free: 12.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4837, allocations: 0 / 0.5732 GB, free: 12.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.562e-05/0.4837, allocations: 12 kB / 0.5732 GB, free: 12.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001133/0.4849, allocations: 0.7428 MB / 0.574 GB, free: 11.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4849, allocations: 12.02 kB / 0.574 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.345e-05/0.485, allocations: 52.38 kB / 0.574 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.4862, allocations: 0.6912 MB / 0.5747 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.4862, allocations: 30.12 kB / 0.5747 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.4863, allocations: 32 kB / 0.5747 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006212/0.4869, allocations: 463.3 kB / 0.5752 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.487, allocations: 0 / 0.5752 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.487, allocations: 16 kB / 0.5752 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.487, allocations: 12 kB / 0.5752 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.4875, allocations: 308.7 kB / 0.5755 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.4893, allocations: 1.764 MB / 0.5772 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.4895, allocations: 139.7 kB / 0.5774 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.4896, allocations: 62.56 kB / 0.5774 GB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.4896, allocations: 4 kB / 0.5774 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.4897, allocations: 30.56 kB / 0.5775 GB, free: 8.098 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.4897, allocations: 0 / 0.5775 GB, free: 8.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009567/0.4906, allocations: 0.6158 MB / 0.5781 GB, free: 7.426 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.4907, allocations: 106.8 kB / 0.5782 GB, free: 7.297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.4911, allocations: 369.5 kB / 0.5785 GB, free: 6.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.4911, allocations: 29.7 kB / 0.5785 GB, free: 6.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.4913, allocations: 275.4 kB / 0.5788 GB, free: 6.621 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.4913, allocations: 55.25 kB / 0.5789 GB, free: 6.566 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.4914, allocations: 8 kB / 0.5789 GB, free: 6.559 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4915, allocations: 350.8 kB / 0.5792 GB, free: 6.207 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.4916, allocations: 47.92 kB / 0.5792 GB, free: 6.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.4918, allocations: 194.5 kB / 0.5794 GB, free: 5.902 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.4921, allocations: 262.5 kB / 0.5797 GB, free: 5.578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4921, allocations: 8 kB / 0.5797 GB, free: 5.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003937/0.4925, allocations: 285.2 kB / 0.58 GB, free: 5.285 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4925, allocations: 14.47 kB / 0.58 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4925, allocations: 4 kB / 0.58 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4925, allocations: 8 kB / 0.58 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.4928, allocations: 67.84 kB / 0.5801 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.4928, allocations: 8 kB / 0.5801 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.4929, allocations: 23.84 kB / 0.5801 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.493, allocations: 12 kB / 0.5801 GB, free: 5.152 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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.0001877/0.4932, allocations: 185.6 kB / 0.5803 GB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.4932, allocations: 43.56 kB / 0.5803 GB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.4936, allocations: 168.7 kB / 0.5805 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4936, allocations: 7.984 kB / 0.5805 GB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4936, allocations: 0 / 0.5805 GB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4936, allocations: 0 / 0.5805 GB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.4942, allocations: 0.5264 MB / 0.581 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.4943, allocations: 4 kB / 0.581 GB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.4944, allocations: 43.95 kB / 0.581 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4944, allocations: 0 / 0.581 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.4945, allocations: 7.984 kB / 0.581 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4945, allocations: 0.8281 kB / 0.581 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4945, allocations: 0 / 0.581 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.4949, allocations: 399.8 kB / 0.5814 GB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.322e-05/0.495, allocations: 116.7 kB / 0.5815 GB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.495, allocations: 4 kB / 0.5815 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.4952, allocations: 8 kB / 0.5816 GB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.4952, allocations: 7.984 kB / 0.5816 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.4952, allocations: 7.938 kB / 0.5816 GB, free: 3.523 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002644/0.4955, allocations: 251.2 kB / 0.5818 GB, free: 3.281 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4955, allocations: 4 kB / 0.5818 GB, free: 3.277 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004254/0.496, allocations: 75.94 kB / 0.5819 GB, free: 3.203 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltage2.theta,ind2.i,ind1.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 (18): * Single equations (assignments): 17 * 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 0.0001441/0.4961, allocations: 115.1 kB / 0.582 GB, free: 3.078 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.4964, allocations: 155.7 kB / 0.5821 GB, free: 2.926 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4964, allocations: 1.25 kB / 0.5821 GB, free: 2.926 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.4965, allocations: 51.92 kB / 0.5822 GB, free: 2.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006806/0.4972, allocations: 94.3 kB / 0.5823 GB, free: 2.785 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.4987, allocations: 1.077 MB / 0.5833 GB, free: 1.672 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.4991, allocations: 0.8467 MB / 0.5842 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000178/0.4993, allocations: 43.27 kB / 0.5842 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.4994, allocations: 27.44 kB / 0.5842 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4994, allocations: 0 / 0.5842 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of Templates: time 0.006925/0.5063, allocations: 3.039 MB / 0.5872 GB, free: 13.71 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches