Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008266/0.0008265, allocations: 86.7 kB / 16.65 MB, free: 6.535 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.0008945/0.0008947, allocations: 174.7 kB / 17.56 MB, free: 6.184 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.321/1.321, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1742/0.1742, allocations: 38.09 MB / 330.8 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 8 kB / 400.7 MB, free: 34.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09887/0.09921, allocations: 59.16 MB / 459.9 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007077/0.1063, allocations: 7.633 MB / 467.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006058/0.1124, allocations: 4.834 MB / 472.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.1129, allocations: 15.94 kB / 472.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.1133, allocations: 139 kB / 472.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002506/0.1158, allocations: 1.199 MB / 473.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.1166, allocations: 327.2 kB / 474 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002619/0.1193, allocations: 2.682 MB / 476.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.1214, allocations: 1.228 MB / 477.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007735/0.1222, allocations: 497.5 kB / 478.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008182/0.123, allocations: 0.7047 MB / 479.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.1231, allocations: 35.98 kB / 479.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.1256, allocations: 1.715 MB / 480.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003777/0.126, allocations: 462.8 kB / 481.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.1264, allocations: 431.5 kB / 481.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.1282, allocations: 1.593 MB / 483.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1282, allocations: 0 / 483.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1282, allocations: 0 / 483.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1282, allocations: 0 / 483.3 MB, free: 15.54 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00143/0.1297, allocations: 1.007 MB / 484.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1297, allocations: 8.031 kB / 484.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/0.1328, allocations: 423.3 kB / 484.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/0.1335, allocations: 487.3 kB / 485.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/0.1336, allocations: 58.36 kB / 485.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.1338, allocations: 76.3 kB / 485.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.1355, allocations: 1.231 MB / 486.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.1356, allocations: 4 kB / 486.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.998e-05/0.1357, allocations: 31.98 kB / 486.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.1358, allocations: 77.89 kB / 486.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.1376, allocations: 1.312 MB / 488 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005271/0.1429, allocations: 3.731 MB / 491.8 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.1447, allocations: 1.096 MB / 492.8 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008618/0.1455, allocations: 0.637 MB / 493.5 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.046e-05/0.1456, allocations: 21.14 kB / 493.5 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.1457, allocations: 47.5 kB / 493.6 MB, free: 5.059 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.245e-06/0.1457, allocations: 0 / 493.6 MB, free: 5.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006655/0.1523, allocations: 3.161 MB / 496.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.1524, allocations: 86.11 kB / 496.8 MB, free: 1.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.1528, allocations: 377.6 kB / 497.2 MB, free: 1.395 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.1529, allocations: 45.64 kB / 497.2 MB, free: 1.344 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.1531, allocations: 332.1 kB / 497.5 MB, free: 1.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.1533, allocations: 319.3 kB / 497.8 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1535, allocations: 77.67 kB / 497.9 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1536, allocations: 370.8 kB / 498.3 MB, free: 248 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.1543, allocations: 465.8 kB / 498.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007394/0.155, allocations: 0.5782 MB / 499.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.1566, allocations: 1.114 MB / 0.4887 GB, free: 14.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1566, allocations: 0 / 0.4887 GB, free: 14.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00242/0.159, allocations: 1.481 MB / 0.4901 GB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.159, allocations: 8.031 kB / 0.4902 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1591, allocations: 4 kB / 0.4902 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009222/0.16, allocations: 332.6 kB / 0.4905 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/0.1607, allocations: 187.7 kB / 0.4907 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004768/0.1655, allocations: 3.866 MB / 0.4944 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.166, allocations: 47.95 kB / 0.4945 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/0.166, allocations: 35.98 kB / 0.4945 GB, free: 7.898 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004043/0.1665, allocations: 297.5 kB / 0.4948 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.1666, allocations: 63.41 kB / 0.4949 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.1692, allocations: 1.547 MB / 0.4964 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.1692, allocations: 12 kB / 0.4964 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.1692, allocations: 11.94 kB / 0.4964 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.1692, allocations: 7.969 kB / 0.4964 GB, free: 5.945 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004747/0.174, allocations: 3.013 MB / 0.4993 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.174, allocations: 0 / 0.4993 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.1746, allocations: 163.8 kB / 0.4995 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007643/0.1754, allocations: 289.7 kB / 0.4998 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.1754, allocations: 28 kB / 0.4998 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2052/0.3807, allocations: 3.591 MB / 0.5033 GB, free: 54.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3807, allocations: 4.781 kB / 0.5033 GB, free: 54.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.3835, allocations: 1.576 MB / 0.5049 GB, free: 53.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.3837, allocations: 147.2 kB / 0.505 GB, free: 53.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.3838, allocations: 31.8 kB / 0.505 GB, free: 53.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.3843, allocations: 47.08 kB / 0.5051 GB, free: 53.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.3844, allocations: 75.67 kB / 0.5051 GB, free: 53.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/0.3845, allocations: 35.02 kB / 0.5052 GB, free: 53.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003009/0.3848, allocations: 277.3 kB / 0.5054 GB, free: 53.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3848, allocations: 0 / 0.5054 GB, free: 53.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001058/0.3859, allocations: 309.3 kB / 0.5057 GB, free: 53.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001523/0.386, allocations: 124.9 kB / 0.5059 GB, free: 53.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.3881, allocations: 1.383 MB / 0.5072 GB, free: 53.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3881, allocations: 4 kB / 0.5072 GB, free: 53.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.3893, allocations: 0.8392 MB / 0.508 GB, free: 53.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008229/0.3901, allocations: 109 kB / 0.5081 GB, free: 53.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.3927, allocations: 2.201 MB / 0.5103 GB, free: 51.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.3934, allocations: 1.078 MB / 0.5113 GB, free: 51.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004653/0.3938, allocations: 183.5 kB / 0.5115 GB, free: 51.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.394, allocations: 64.73 kB / 0.5116 GB, free: 51.05 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.394, allocations: 0 / 0.5116 GB, free: 51.05 MB / 382.1 MB Notification: Performance of Templates: time 0.01587/0.4099, allocations: 9.33 MB / 0.5207 GB, free: 48.71 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches