Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009383/0.0009381, 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.237/1.237, allocations: 205.4 MB / 222.2 MB, free: 9.008 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.0007306/0.0007306, allocations: 93.03 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1726/0.1726, allocations: 38.08 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003132, allocations: 12 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2184, allocations: 56.32 MB / 479.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005449/0.2239, allocations: 6.84 MB / 486.5 MB, free: 4.629 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004449/0.2284, allocations: 4.17 MB / 490.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004036/0.2288, allocations: 15.34 kB / 490.7 MB, free: 1.684 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.2292, allocations: 138.2 kB / 490.8 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.2315, allocations: 1.08 MB / 491.9 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007471/0.2323, allocations: 272.5 kB / 492.1 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.2343, allocations: 1.92 MB / 494.1 MB, free: 368 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00216/0.2365, allocations: 1.23 MB / 495.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009921/0.2375, allocations: 0.4896 MB / 495.8 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.2386, allocations: 0.6557 MB / 496.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.901e-05/0.2387, allocations: 30.5 kB / 496.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.2415, allocations: 1.519 MB / 498 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005727/0.2421, allocations: 448.9 kB / 498.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.2426, allocations: 399.1 kB / 498.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.2442, allocations: 1.082 MB / 499.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2443, allocations: 0 / 499.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2443, allocations: 0 / 499.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.2443, allocations: 1.344 kB / 499.9 MB, free: 13.71 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.001553/0.2458, allocations: 0.9913 MB / 0.4891 GB, free: 12.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2459, allocations: 8.906 kB / 0.4891 GB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.2488, allocations: 388.2 kB / 0.4895 GB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007163/0.2495, allocations: 482.3 kB / 0.49 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.2496, allocations: 55.52 kB / 0.49 GB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.2497, allocations: 70.88 kB / 0.4901 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.2516, allocations: 1.169 MB / 0.4912 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.2517, allocations: 9.031 kB / 0.4913 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.062e-05/0.2518, allocations: 30.7 kB / 0.4913 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.545e-05/0.2519, allocations: 74.61 kB / 0.4914 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.2538, allocations: 1.232 MB / 0.4926 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005425/0.2592, allocations: 3.531 MB / 0.496 GB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.2608, allocations: 1.068 MB / 0.497 GB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008694/0.2617, allocations: 0.6524 MB / 0.4977 GB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.2618, allocations: 19.3 kB / 0.4977 GB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.2618, allocations: 43.36 kB / 0.4977 GB, free: 7.613 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 3.397e-06/0.2618, allocations: 4 kB / 0.4977 GB, free: 7.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=92): time 0.006396/0.2683, allocations: 3.092 MB / 0.5008 GB, free: 4.965 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.2683, allocations: 94.23 kB / 0.5009 GB, free: 4.855 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.2687, allocations: 357.6 kB / 0.5012 GB, free: 4.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.2688, allocations: 41.7 kB / 0.5012 GB, free: 4.453 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.269, allocations: 316.1 kB / 0.5015 GB, free: 4.137 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.2692, allocations: 319.4 kB / 0.5018 GB, free: 3.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.2693, allocations: 12 kB / 0.5019 GB, free: 3.809 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2694, allocations: 366.8 kB / 0.5022 GB, free: 3.441 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006689/0.2701, allocations: 465.7 kB / 0.5026 GB, free: 2.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007726/0.2709, allocations: 0.5695 MB / 0.5032 GB, free: 2.387 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.2724, allocations: 1.109 MB / 0.5043 GB, free: 1.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2724, allocations: 0 / 0.5043 GB, free: 1.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002437/0.2748, allocations: 1.477 MB / 0.5057 GB, free: 15.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.2749, allocations: 4 kB / 0.5057 GB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2749, allocations: 4 kB / 0.5057 GB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009066/0.2758, allocations: 336.7 kB / 0.5061 GB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.2765, allocations: 179.7 kB / 0.5062 GB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004966/0.2815, allocations: 3.864 MB / 0.51 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.282, allocations: 47.95 kB / 0.51 GB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/0.2821, allocations: 31.98 kB / 0.5101 GB, free: 11.14 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.0004646/0.2826, allocations: 301.5 kB / 0.5104 GB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.2827, allocations: 63.31 kB / 0.5104 GB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.2853, allocations: 1.555 MB / 0.5119 GB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2853, allocations: 16 kB / 0.512 GB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2853, allocations: 7.938 kB / 0.512 GB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.2853, allocations: 7.922 kB / 0.512 GB, free: 9.168 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.004769/0.2901, allocations: 3.028 MB / 0.5149 GB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.2901, allocations: 4 kB / 0.5149 GB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.2908, allocations: 167.8 kB / 0.5151 GB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007628/0.2916, allocations: 281 kB / 0.5154 GB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.353e-05/0.2916, allocations: 27.94 kB / 0.5154 GB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004522/0.2962, allocations: 3.599 MB / 0.5189 GB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.2962, allocations: 7.938 kB / 0.5189 GB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.2986, allocations: 1.584 MB / 0.5205 GB, free: 136 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.2988, allocations: 156.5 kB / 0.5206 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.2989, allocations: 23.98 kB / 0.5206 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.2993, allocations: 39.97 kB / 0.5207 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.2994, allocations: 84.77 kB / 0.5208 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.2995, allocations: 35.98 kB / 0.5208 GB, free: 15.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002596/0.2998, allocations: 251.2 kB / 0.521 GB, free: 15.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2998, allocations: 4 kB / 0.521 GB, free: 15.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009153/0.3007, allocations: 308 kB / 0.5213 GB, free: 15.23 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.0001583/0.3009, allocations: 131 kB / 0.5214 GB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.3029, allocations: 1.386 MB / 0.5228 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3029, allocations: 0 / 0.5228 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.304, allocations: 0.836 MB / 0.5236 GB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.3049, allocations: 116.3 kB / 0.5237 GB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.3077, allocations: 2.162 MB / 0.5258 GB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.3084, allocations: 1.072 MB / 0.5269 GB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.3086, allocations: 71.39 kB / 0.527 GB, free: 9.328 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3086, allocations: 0 / 0.527 GB, free: 9.328 MB / 362.7 MB Notification: Performance of Templates: time 0.01476/0.3234, allocations: 12.09 MB / 0.5388 GB, free: 13.23 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)