Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006001/0.006001, allocations: 173 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.14/3.14, allocations: 205.4 MB / 222.9 MB, free: 8.918 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.0015/0.001501, allocations: 90.45 kB / 271.3 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.4427/0.4427, allocations: 38.08 MB / 357.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005926/0.000593, allocations: 12 kB / 423.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5314/0.532, allocations: 56.32 MB / 480.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.7489, allocations: 97.99 MB / 0.5647 GB, free: 4.355 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004067/0.7494, allocations: 87.95 kB / 0.5648 GB, free: 4.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1055/0.8549, allocations: 24.13 MB / 0.5883 GB, free: 11.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.855, allocations: 0 / 0.5883 GB, free: 11.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.384e-05/0.855, allocations: 8 kB / 0.5884 GB, free: 11.86 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001995/0.857, allocations: 0.691 MB / 0.589 GB, free: 11.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/0.8571, allocations: 8.031 kB / 0.589 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/0.8602, allocations: 220.1 kB / 0.5892 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.8612, allocations: 379.2 kB / 0.5896 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/0.8613, allocations: 25.38 kB / 0.5896 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.8615, allocations: 52.27 kB / 0.5897 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.8631, allocations: 0.6112 MB / 0.5903 GB, free: 9.773 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.289e-05/0.8632, allocations: 4.188 kB / 0.5903 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/0.8633, allocations: 19.94 kB / 0.5903 GB, free: 9.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002435/0.8636, allocations: 48.95 kB / 0.5904 GB, free: 9.703 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.8651, allocations: 0.5854 MB / 0.5909 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005785/0.871, allocations: 2.276 MB / 0.5931 GB, free: 6.715 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.8722, allocations: 482.5 kB / 0.5936 GB, free: 6.207 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.8729, allocations: 233.7 kB / 0.5938 GB, free: 5.973 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.433e-05/0.873, allocations: 4 kB / 0.5938 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.873, allocations: 38.56 kB / 0.5939 GB, free: 5.922 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 5.631e-06/0.8731, allocations: 3.938 kB / 0.5939 GB, free: 5.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.006596/0.8797, allocations: 1.674 MB / 0.5955 GB, free: 4.168 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.8798, allocations: 89.05 kB / 0.5956 GB, free: 4.062 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005599/0.8804, allocations: 287 kB / 0.5959 GB, free: 3.773 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.8805, allocations: 29.7 kB / 0.5959 GB, free: 3.738 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.8807, allocations: 228 kB / 0.5961 GB, free: 3.512 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.8809, allocations: 149.8 kB / 0.5963 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.881, allocations: 12 kB / 0.5963 GB, free: 3.352 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.8812, allocations: 350.7 kB / 0.5966 GB, free: 3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.8817, allocations: 169 kB / 0.5968 GB, free: 2.836 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.8824, allocations: 286.4 kB / 0.597 GB, free: 2.512 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.8836, allocations: 492.5 kB / 0.5975 GB, free: 1.984 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.8836, allocations: 4 kB / 0.5975 GB, free: 1.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002129/0.8858, allocations: 0.6537 MB / 0.5981 GB, free: 1.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.8858, allocations: 14.28 kB / 0.5982 GB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.8859, allocations: 4 kB / 0.5982 GB, free: 1.301 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.8869, allocations: 161 kB / 0.5983 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.8877, allocations: 99.81 kB / 0.5984 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/0.8938, allocations: 2.519 MB / 0.6009 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.8946, allocations: 27.97 kB / 0.6009 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.8947, allocations: 20 kB / 0.6009 GB, free: 14.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * 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: 0 * Non-linear torn systems: 1 {4 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005269/0.8952, allocations: 202.3 kB / 0.6011 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.8954, allocations: 31.62 kB / 0.6011 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.8975, allocations: 0.6178 MB / 0.6017 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.8976, allocations: 4 kB / 0.6017 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8976, allocations: 0 / 0.6017 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.8976, allocations: 4 kB / 0.6018 GB, free: 13.47 MB / 442.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.003953/0.9016, allocations: 1.347 MB / 0.6031 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.9016, allocations: 0 / 0.6031 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/0.9024, allocations: 87.88 kB / 0.6032 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007674/0.9032, allocations: 132.7 kB / 0.6033 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/0.9033, allocations: 12.11 kB / 0.6033 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004913/0.9082, allocations: 2.307 MB / 0.6055 GB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/0.9083, allocations: 4.031 kB / 0.6055 GB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.911, allocations: 0.9328 MB / 0.6065 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.9113, allocations: 116.6 kB / 0.6066 GB, free: 8.277 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.9114, allocations: 12.03 kB / 0.6066 GB, free: 8.266 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.9119, allocations: 15.98 kB / 0.6066 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.9121, allocations: 28.16 kB / 0.6066 GB, free: 8.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.9121, allocations: 15.98 kB / 0.6066 GB, free: 8.207 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003969/0.9125, allocations: 194 kB / 0.6068 GB, free: 8.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9126, allocations: 0 / 0.6068 GB, free: 8.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001245/0.9138, allocations: 148 kB / 0.607 GB, free: 7.875 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * 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 (38): * Single equations (assignments): 36 * 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: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000309/0.9142, allocations: 123.1 kB / 0.6071 GB, free: 7.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.9164, allocations: 0.6655 MB / 0.6077 GB, free: 7.066 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.9165, allocations: 0 / 0.6077 GB, free: 7.066 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.9177, allocations: 418.8 kB / 0.6081 GB, free: 6.645 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.9188, allocations: 68.41 kB / 0.6082 GB, free: 6.578 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.9226, allocations: 1.416 MB / 0.6096 GB, free: 5.121 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/0.9234, allocations: 0.8671 MB / 0.6104 GB, free: 4.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.9236, allocations: 43.36 kB / 0.6105 GB, free: 4.188 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.9236, allocations: 0 / 0.6105 GB, free: 4.188 MB / 442.7 MB Notification: Performance of Templates: time 0.01899/0.9426, allocations: 6.841 MB / 0.6171 GB, free: 13.34 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1)