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.001359/0.00136, allocations: 107.8 kB / 16.51 MB, free: 6.707 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.001336/0.001336, allocations: 190.6 kB / 17.43 MB, free: 6.066 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.523/1.523, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1732/0.1732, allocations: 38.04 MB / 329.3 MB, free: 9.078 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.8 kB / 398.1 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1449, allocations: 58.05 MB / 456.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008777/0.1538, allocations: 8.097 MB / 464.3 MB, free: 404 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007012/0.1608, allocations: 4.911 MB / 469.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008109/0.1617, allocations: 19.94 kB / 469.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.1645, allocations: 1.024 MB / 470.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.1678, allocations: 1.199 MB / 471.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.169, allocations: 331.2 kB / 471.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003273/0.1723, allocations: 2.686 MB / 474.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.1737, allocations: 0.677 MB / 475.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.175, allocations: 0.5249 MB / 475.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.1765, allocations: 0.7633 MB / 476.4 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000275/0.1768, allocations: 52 kB / 476.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.1807, allocations: 1.734 MB / 478.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008062/0.1815, allocations: 486.8 kB / 478.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.1826, allocations: 429.9 kB / 479.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00374/0.1864, allocations: 1.62 MB / 480.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.1864, allocations: 0 / 480.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1864, allocations: 0 / 480.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.994e-05/0.1865, allocations: 0 / 480.7 MB, free: 15.91 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.002905/0.1894, allocations: 1.163 MB / 481.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.1895, allocations: 12.03 kB / 481.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003729/0.1932, allocations: 411.4 kB / 482.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009419/0.1942, allocations: 499.2 kB / 482.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.978e-05/0.1942, allocations: 50.38 kB / 482.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.1944, allocations: 72.36 kB / 482.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.1967, allocations: 1.234 MB / 484.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.1967, allocations: 4 kB / 484.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.033e-05/0.1968, allocations: 31.97 kB / 484.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.1969, allocations: 77.95 kB / 484.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.199, allocations: 1.308 MB / 485.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006257/0.2053, allocations: 3.708 MB / 489.2 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.2071, allocations: 1.091 MB / 490.3 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008642/0.208, allocations: 0.6467 MB / 491 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.725e-05/0.2081, allocations: 17.14 kB / 491 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.2081, allocations: 43.56 kB / 491 MB, free: 5.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.815e-06/0.2081, allocations: 3.938 kB / 491 MB, free: 5.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006948/0.2151, allocations: 3.145 MB / 494.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.2152, allocations: 90.11 kB / 494.3 MB, free: 2.031 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.2156, allocations: 381.5 kB / 494.6 MB, free: 1.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.2157, allocations: 41.7 kB / 494.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.2159, allocations: 324 kB / 495 MB, free: 1.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.2162, allocations: 323.4 kB / 495.3 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.2165, allocations: 162.6 kB / 495.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2167, allocations: 366.8 kB / 495.8 MB, free: 436 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/0.2174, allocations: 461.7 kB / 496.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008083/0.2182, allocations: 0.5821 MB / 496.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.2198, allocations: 1.114 MB / 498 MB, free: 14.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.2198, allocations: 0 / 498 MB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002573/0.2224, allocations: 1.481 MB / 499.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.2224, allocations: 12.22 kB / 499.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2224, allocations: 0 / 499.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.2235, allocations: 336.6 kB / 499.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.2242, allocations: 183.7 kB / 500 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005334/0.2296, allocations: 3.86 MB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/0.2302, allocations: 48.02 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.2303, allocations: 35.98 kB / 0.4921 GB, free: 8.086 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.0005396/0.2309, allocations: 301.5 kB / 0.4924 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.2311, allocations: 59.25 kB / 0.4924 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/0.2338, allocations: 1.547 MB / 0.494 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.2339, allocations: 12 kB / 0.494 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.2339, allocations: 7.938 kB / 0.494 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.2339, allocations: 3.984 kB / 0.494 GB, free: 6.145 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.005779/0.2397, allocations: 3.017 MB / 0.4969 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.855e-05/0.2398, allocations: 4 kB / 0.4969 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/0.2407, allocations: 160.2 kB / 0.4971 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.2419, allocations: 289.3 kB / 0.4974 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.2421, allocations: 35.98 kB / 0.4974 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2537/0.4958, allocations: 3.572 MB / 0.5009 GB, free: 55.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.4958, allocations: 4.25 kB / 0.5009 GB, free: 55.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.4985, allocations: 1.577 MB / 0.5024 GB, free: 54.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.4988, allocations: 149.3 kB / 0.5026 GB, free: 54.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-05/0.4989, allocations: 23.48 kB / 0.5026 GB, free: 54.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.4994, allocations: 51.86 kB / 0.5026 GB, free: 54.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.4996, allocations: 80.11 kB / 0.5027 GB, free: 54.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.593e-05/0.4997, allocations: 32.44 kB / 0.5027 GB, free: 54.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004197/0.5001, allocations: 272.7 kB / 0.503 GB, free: 54.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5001, allocations: 1.344 kB / 0.503 GB, free: 54.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001364/0.5015, allocations: 309.2 kB / 0.5033 GB, free: 54.59 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.0002268/0.5017, allocations: 130 kB / 0.5034 GB, free: 54.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.5042, allocations: 1.383 MB / 0.5048 GB, free: 54.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5042, allocations: 1.031 kB / 0.5048 GB, free: 54.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.5055, allocations: 0.8362 MB / 0.5056 GB, free: 53.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007108/0.5062, allocations: 103.9 kB / 0.5057 GB, free: 53.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.5093, allocations: 2.183 MB / 0.5078 GB, free: 52.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/0.5101, allocations: 1.081 MB / 0.5089 GB, free: 51.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005633/0.5107, allocations: 184 kB / 0.5091 GB, free: 51.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.5109, allocations: 64.22 kB / 0.5091 GB, free: 51.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.462e-06/0.5109, allocations: 3.344 kB / 0.5091 GB, free: 51.64 MB / 382.1 MB Notification: Performance of Templates: time 0.01761/0.5286, allocations: 9.572 MB / 0.5185 GB, free: 49.5 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