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.001609/0.001609, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001805/0.001805, allocations: 192 kB / 18.63 MB, free: 4.375 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.588/1.588, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1892/0.1892, allocations: 38.04 MB / 330.5 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 62.05 kB / 400.3 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1617, allocations: 58.06 MB / 458.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01033/0.1721, allocations: 7.682 MB / 466 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0075/0.1797, allocations: 4.739 MB / 470.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007231/0.1805, allocations: 19.94 kB / 470.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.1834, allocations: 1.091 MB / 471.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.1874, allocations: 1.253 MB / 473.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.1887, allocations: 366.9 kB / 473.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.1907, allocations: 1.461 MB / 474.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009752/0.1917, allocations: 0.6655 MB / 475.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009601/0.1927, allocations: 0.6458 MB / 476.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009553/0.1937, allocations: 0.7047 MB / 476.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.1938, allocations: 64 kB / 477 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.1968, allocations: 1.43 MB / 478.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005416/0.1974, allocations: 498.8 kB / 478.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005034/0.1979, allocations: 457.8 kB / 479.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.2003, allocations: 1.527 MB / 480.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.2003, allocations: 4 kB / 480.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.2003, allocations: 3.938 kB / 480.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.2003, allocations: 0 / 480.9 MB, free: 0.6914 MB / 350.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.001899/0.2022, allocations: 1.167 MB / 482.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.2023, allocations: 8.031 kB / 482.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/0.2057, allocations: 411.4 kB / 482.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/0.2067, allocations: 0.4953 MB / 483 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/0.2068, allocations: 62.3 kB / 483 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.2069, allocations: 72.36 kB / 483.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.2088, allocations: 1.231 MB / 484.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.2089, allocations: 4 kB / 484.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.381e-05/0.209, allocations: 31.92 kB / 484.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.2091, allocations: 81.95 kB / 484.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.2111, allocations: 1.315 MB / 485.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005905/0.217, allocations: 3.669 MB / 489.4 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.2188, allocations: 1.097 MB / 490.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008436/0.2197, allocations: 0.6392 MB / 491.2 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.113e-05/0.2198, allocations: 21.12 kB / 491.2 MB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.2198, allocations: 43.56 kB / 491.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.066e-06/0.2198, allocations: 0 / 491.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006945/0.2268, allocations: 3.141 MB / 494.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.2269, allocations: 90.11 kB / 494.5 MB, free: 2.824 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.2274, allocations: 385.5 kB / 494.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.2275, allocations: 41.7 kB / 494.9 MB, free: 2.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.2278, allocations: 324 kB / 495.2 MB, free: 2.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.2281, allocations: 315.4 kB / 495.5 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.2284, allocations: 162.5 kB / 495.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.2286, allocations: 370.8 kB / 496 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007281/0.2294, allocations: 461.7 kB / 496.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008109/0.2302, allocations: 0.5821 MB / 497.1 MB, free: 160 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.2318, allocations: 1.11 MB / 498.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2318, allocations: 0 / 498.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002537/0.2343, allocations: 1.485 MB / 499.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.2344, allocations: 8 kB / 499.7 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.2344, allocations: 0 / 499.7 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009917/0.2354, allocations: 338.5 kB / 500 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007032/0.2361, allocations: 183.7 kB / 0.4884 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005867/0.242, allocations: 4.171 MB / 0.4925 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009643/0.243, allocations: 51.94 kB / 0.4926 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004202/0.2435, allocations: 35.98 kB / 0.4926 GB, free: 8.578 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.002239/0.2458, allocations: 305.4 kB / 0.4929 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008107/0.2467, allocations: 59.33 kB / 0.493 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007022/0.2538, allocations: 1.563 MB / 0.4945 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/0.2539, allocations: 8 kB / 0.4945 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.633e-05/0.254, allocations: 8 kB / 0.4945 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.742e-05/0.2541, allocations: 3.984 kB / 0.4945 GB, free: 6.613 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.01288/0.267, allocations: 3.004 MB / 0.4974 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.267, allocations: 4 kB / 0.4974 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.2676, allocations: 172.1 kB / 0.4976 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008366/0.2684, allocations: 285.4 kB / 0.4979 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/0.2685, allocations: 27.98 kB / 0.4979 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3549/0.6235, allocations: 3.878 MB / 0.5017 GB, free: 54.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.6235, allocations: 8.344 kB / 0.5017 GB, free: 54.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.6269, allocations: 1.586 MB / 0.5032 GB, free: 54.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.6271, allocations: 140.1 kB / 0.5034 GB, free: 54.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.18e-05/0.6272, allocations: 22.72 kB / 0.5034 GB, free: 54.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/0.6277, allocations: 40.06 kB / 0.5034 GB, free: 54.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.6279, allocations: 81.58 kB / 0.5035 GB, free: 54.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.242e-05/0.628, allocations: 39.06 kB / 0.5036 GB, free: 54.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003955/0.6284, allocations: 266.9 kB / 0.5038 GB, free: 54.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6284, allocations: 1.469 kB / 0.5038 GB, free: 54.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001254/0.6297, allocations: 309.6 kB / 0.5041 GB, free: 54.23 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.0002239/0.6299, allocations: 129 kB / 0.5042 GB, free: 54.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.6326, allocations: 1.396 MB / 0.5056 GB, free: 53.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.6326, allocations: 4.438 kB / 0.5056 GB, free: 53.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.6342, allocations: 0.8398 MB / 0.5064 GB, free: 53.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.635, allocations: 103 kB / 0.5065 GB, free: 53.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.6386, allocations: 1.8 MB / 0.5083 GB, free: 52.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009277/0.6395, allocations: 1.082 MB / 0.5093 GB, free: 51.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005201/0.6401, allocations: 182.1 kB / 0.5095 GB, free: 51.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.6403, allocations: 69.61 kB / 0.5096 GB, free: 51.73 MB / 382.1 MB Notification: Performance of SimCode: time 3.396e-06/0.6403, allocations: 0 / 0.5096 GB, free: 51.73 MB / 382.1 MB Notification: Performance of Templates: time 0.02177/0.6621, allocations: 10.13 MB / 0.5195 GB, free: 49.4 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches