Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009781/0.0009779, allocations: 173.1 kB / 16.07 MB, free: 5.723 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.212/1.212, allocations: 205.4 MB / 222.2 MB, free: 9.016 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.0007462/0.0007462, allocations: 86.41 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1689/0.1689, allocations: 38.07 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003525, allocations: 12 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2298, allocations: 56.31 MB / 479.6 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005488/0.2353, allocations: 6.968 MB / 486.6 MB, free: 4.551 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.2395, allocations: 3.966 MB / 490.6 MB, free: 1.738 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004201/0.2399, allocations: 20.06 kB / 490.6 MB, free: 1.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.2403, allocations: 137.6 kB / 490.7 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.2425, allocations: 0.9891 MB / 491.7 MB, free: 1.191 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.2432, allocations: 268.3 kB / 492 MB, free: 1.062 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.2453, allocations: 1.884 MB / 493.8 MB, free: 472 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.2458, allocations: 338.7 kB / 494.2 MB, free: 260 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008701/0.2467, allocations: 467 kB / 494.6 MB, free: 72 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.2477, allocations: 0.5692 MB / 495.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.181e-05/0.2478, allocations: 20.69 kB / 495.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.2499, allocations: 1.167 MB / 496.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004043/0.2503, allocations: 257.2 kB / 496.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003184/0.2507, allocations: 242 kB / 496.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.2517, allocations: 0.6047 MB / 497.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2517, allocations: 1.156 kB / 497.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2517, allocations: 0 / 497.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2517, allocations: 0 / 497.5 MB, free: 15.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001089/0.2528, allocations: 0.713 MB / 498.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2529, allocations: 9.375 kB / 498.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.2543, allocations: 138.3 kB / 498.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.2547, allocations: 329.1 kB / 498.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.2548, allocations: 30.02 kB / 498.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.2548, allocations: 41.11 kB / 498.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000798/0.2556, allocations: 0.5878 MB / 499.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2557, allocations: 8.938 kB / 499.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.2557, allocations: 21.73 kB / 499.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.18e-05/0.2558, allocations: 37.28 kB / 499.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.2564, allocations: 382 kB / 499.8 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.2587, allocations: 2.604 MB / 0.4906 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/0.2594, allocations: 440.8 kB / 0.491 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.2597, allocations: 203.9 kB / 0.4912 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2597, allocations: 11.77 kB / 0.4912 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2598, allocations: 32.91 kB / 0.4912 GB, free: 10.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.444e-06/0.2598, allocations: 0 / 0.4912 GB, free: 10.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001655/0.2614, allocations: 0.7693 MB / 0.492 GB, free: 10.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.2615, allocations: 114.2 kB / 0.4921 GB, free: 10.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.2619, allocations: 314.1 kB / 0.4924 GB, free: 9.898 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.2619, allocations: 31.08 kB / 0.4924 GB, free: 9.863 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.262, allocations: 251.6 kB / 0.4927 GB, free: 9.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.2622, allocations: 114 kB / 0.4928 GB, free: 9.539 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.2622, allocations: 9.375 kB / 0.4928 GB, free: 9.531 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2623, allocations: 349.3 kB / 0.4931 GB, free: 9.191 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.2625, allocations: 122.4 kB / 0.4932 GB, free: 9.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.2628, allocations: 282.1 kB / 0.4935 GB, free: 8.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/0.2634, allocations: 452.5 kB / 0.4939 GB, free: 8.523 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2634, allocations: 2.25 kB / 0.4939 GB, free: 8.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008272/0.2642, allocations: 0.559 MB / 0.4945 GB, free: 8.219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2642, allocations: 9.312 kB / 0.4945 GB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2643, allocations: 5.469 kB / 0.4945 GB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003194/0.2646, allocations: 117.8 kB / 0.4946 GB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.2648, allocations: 77.97 kB / 0.4947 GB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/0.2673, allocations: 2.346 MB / 0.497 GB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.2675, allocations: 44.34 kB / 0.497 GB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.2676, allocations: 23.86 kB / 0.497 GB, free: 6.098 MB / 330.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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002272/0.2678, allocations: 206.7 kB / 0.4972 GB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.2679, allocations: 32.88 kB / 0.4973 GB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.861e-05/0.268, allocations: 46.08 kB / 0.4973 GB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.268, allocations: 4.062 kB / 0.4973 GB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.268, allocations: 2.969 kB / 0.4973 GB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.268, allocations: 1.406 kB / 0.4973 GB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.2693, allocations: 0.9629 MB / 0.4983 GB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2693, allocations: 1.031 kB / 0.4983 GB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.2695, allocations: 39.97 kB / 0.4983 GB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.2697, allocations: 103.5 kB / 0.4984 GB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.2698, allocations: 10.16 kB / 0.4984 GB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.272, allocations: 2.335 MB / 0.5007 GB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.272, allocations: 1.375 kB / 0.5007 GB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007247/0.2728, allocations: 0.6187 MB / 0.5013 GB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.865e-05/0.2729, allocations: 116.8 kB / 0.5014 GB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.2729, allocations: 14.95 kB / 0.5014 GB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.2731, allocations: 7.375 kB / 0.5014 GB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.2732, allocations: 30 kB / 0.5015 GB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.2732, allocations: 7.375 kB / 0.5015 GB, free: 2.492 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002326/0.2734, allocations: 226.5 kB / 0.5017 GB, free: 2.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2734, allocations: 0 / 0.5017 GB, free: 2.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007102/0.2741, allocations: 156.9 kB / 0.5018 GB, free: 2.316 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001194/0.2743, allocations: 105.7 kB / 0.5019 GB, free: 2.215 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008025/0.2751, allocations: 0.5052 MB / 0.5024 GB, free: 1.914 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2751, allocations: 6.031 kB / 0.5024 GB, free: 1.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.2755, allocations: 343.4 kB / 0.5028 GB, free: 1.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.2761, allocations: 60 kB / 0.5028 GB, free: 1.645 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.2775, allocations: 1.013 MB / 0.5038 GB, free: 0.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.2779, allocations: 0.8874 MB / 0.5047 GB, free: 124 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.278, allocations: 25.75 kB / 0.5047 GB, free: 116 kB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.278, allocations: 0 / 0.5047 GB, free: 116 kB / 330.7 MB Notification: Performance of Templates: time 0.007956/0.286, allocations: 6.04 MB / 0.5106 GB, free: 10.08 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)