Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 170.4 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.201/1.201, allocations: 205.4 MB / 222.2 MB, free: 9.012 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.0007528/0.0007528, allocations: 91.73 kB / 270.6 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1667/0.1667, allocations: 38.07 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 12 kB / 423.3 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2114, allocations: 56.33 MB / 479.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.005293/0.2167, allocations: 6.834 MB / 486.5 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004369/0.2211, allocations: 4.171 MB / 490.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.2215, allocations: 14.94 kB / 490.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.2219, allocations: 133.7 kB / 490.8 MB, free: 1.625 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.2242, allocations: 1.084 MB / 491.9 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007293/0.2249, allocations: 272.6 kB / 492.1 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.2269, allocations: 1.915 MB / 494 MB, free: 384 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.229, allocations: 1.228 MB / 495.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009263/0.23, allocations: 496.5 kB / 495.8 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009619/0.2309, allocations: 0.659 MB / 496.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.279e-05/0.231, allocations: 31.62 kB / 496.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.2338, allocations: 1.519 MB / 498 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005802/0.2344, allocations: 450.1 kB / 498.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.2349, allocations: 398.9 kB / 498.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.2365, allocations: 1.082 MB / 499.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2365, allocations: 1.094 kB / 499.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2365, allocations: 0 / 499.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.2366, allocations: 0 / 499.9 MB, free: 13.73 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001532/0.2381, allocations: 0.9879 MB / 0.4891 GB, free: 12.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2381, allocations: 14.08 kB / 0.4891 GB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/0.241, allocations: 388.1 kB / 0.4895 GB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007517/0.2418, allocations: 481.2 kB / 0.49 GB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.2419, allocations: 55.7 kB / 0.49 GB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.242, allocations: 66.72 kB / 0.4901 GB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.2438, allocations: 1.173 MB / 0.4912 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.2439, allocations: 5.969 kB / 0.4912 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/0.244, allocations: 29.61 kB / 0.4913 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.836e-05/0.2441, allocations: 70.95 kB / 0.4913 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.246, allocations: 1.232 MB / 0.4925 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005398/0.2514, allocations: 3.538 MB / 0.496 GB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.253, allocations: 1.069 MB / 0.497 GB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008739/0.2539, allocations: 0.6518 MB / 0.4977 GB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.786e-05/0.254, allocations: 18.95 kB / 0.4977 GB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.254, allocations: 40 kB / 0.4977 GB, free: 7.633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 3.046e-06/0.254, allocations: 4 kB / 0.4977 GB, free: 7.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=92): time 0.00634/0.2604, allocations: 3.092 MB / 0.5008 GB, free: 4.988 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.2604, allocations: 90.14 kB / 0.5008 GB, free: 4.883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.2608, allocations: 365.6 kB / 0.5012 GB, free: 4.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/0.2609, allocations: 37.7 kB / 0.5012 GB, free: 4.477 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.2611, allocations: 312.1 kB / 0.5015 GB, free: 4.164 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.2614, allocations: 323.4 kB / 0.5018 GB, free: 3.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.2614, allocations: 16 kB / 0.5018 GB, free: 3.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2616, allocations: 366.8 kB / 0.5022 GB, free: 3.461 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/0.2622, allocations: 461.7 kB / 0.5026 GB, free: 3.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/0.263, allocations: 0.5734 MB / 0.5032 GB, free: 2.406 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.2644, allocations: 1.105 MB / 0.5043 GB, free: 1.273 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2644, allocations: 0 / 0.5043 GB, free: 1.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002349/0.2668, allocations: 1.473 MB / 0.5057 GB, free: 15.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.2668, allocations: 4 kB / 0.5057 GB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2669, allocations: 4 kB / 0.5057 GB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009229/0.2678, allocations: 340.7 kB / 0.506 GB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/0.2685, allocations: 179.7 kB / 0.5062 GB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004922/0.2735, allocations: 3.86 MB / 0.51 GB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/0.274, allocations: 51.94 kB / 0.51 GB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.836e-05/0.2741, allocations: 35.97 kB / 0.5101 GB, free: 11.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004134/0.2745, allocations: 297.5 kB / 0.5104 GB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.2747, allocations: 59.41 kB / 0.5104 GB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.2773, allocations: 1.555 MB / 0.5119 GB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.2773, allocations: 15.98 kB / 0.5119 GB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2773, allocations: 11.94 kB / 0.512 GB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.2773, allocations: 7.922 kB / 0.512 GB, free: 9.191 MB / 346.7 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.0048/0.2821, allocations: 3.028 MB / 0.5149 GB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.2822, allocations: 4 kB / 0.5149 GB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/0.2828, allocations: 167.8 kB / 0.5151 GB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007909/0.2836, allocations: 280.9 kB / 0.5154 GB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.2837, allocations: 27.98 kB / 0.5154 GB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004505/0.2882, allocations: 3.606 MB / 0.5189 GB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.2882, allocations: 7.938 kB / 0.5189 GB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.2906, allocations: 1.584 MB / 0.5205 GB, free: 156 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.2908, allocations: 148.2 kB / 0.5206 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.2909, allocations: 32 kB / 0.5206 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.2913, allocations: 39.95 kB / 0.5207 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.2915, allocations: 84.77 kB / 0.5207 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.03e-05/0.2915, allocations: 35.98 kB / 0.5208 GB, free: 15.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002628/0.2918, allocations: 251.2 kB / 0.521 GB, free: 15.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2918, allocations: 0 / 0.521 GB, free: 15.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009295/0.2927, allocations: 312 kB / 0.5213 GB, free: 15.25 MB / 362.7 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 (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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001474/0.2929, allocations: 123.1 kB / 0.5214 GB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.295, allocations: 1.39 MB / 0.5228 GB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.295, allocations: 0 / 0.5228 GB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.2962, allocations: 0.8399 MB / 0.5236 GB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008161/0.297, allocations: 110.3 kB / 0.5237 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.2998, allocations: 2.177 MB / 0.5258 GB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.3005, allocations: 1.068 MB / 0.5269 GB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.3007, allocations: 75.39 kB / 0.527 GB, free: 9.344 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3007, allocations: 0 / 0.527 GB, free: 9.344 MB / 362.7 MB Notification: Performance of Templates: time 0.01471/0.3155, allocations: 12.08 MB / 0.5387 GB, free: 13.25 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)