Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001957/0.001956, allocations: 173 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.804/2.804, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.001354/0.001354, allocations: 86.34 kB / 271.3 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.252/0.252, allocations: 38.08 MB / 357.6 MB, free: 1.715 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.000409, allocations: 16 kB / 423.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3537, allocations: 56.32 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.5017, allocations: 101.5 MB / 0.5681 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.5021, allocations: 91.95 kB / 0.5682 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04449/0.5466, allocations: 15.11 MB / 0.5829 GB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5466, allocations: 4 kB / 0.5829 GB, free: 1.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.536e-05/0.5467, allocations: 20 kB / 0.5829 GB, free: 1.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001447/0.5481, allocations: 0.7153 MB / 0.5836 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.5482, allocations: 8.031 kB / 0.5837 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005806/0.5488, allocations: 104.2 kB / 0.5838 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.5499, allocations: 0.5419 MB / 0.5843 GB, free: 40 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.5499, allocations: 29.36 kB / 0.5843 GB, free: 12 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.55, allocations: 32.42 kB / 0.5843 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.551, allocations: 0.6841 MB / 0.585 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.5511, allocations: 3.938 kB / 0.585 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.5511, allocations: 15.94 kB / 0.585 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/0.5513, allocations: 64.95 kB / 0.5851 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.5523, allocations: 0.6362 MB / 0.5857 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003632/0.556, allocations: 2.554 MB / 0.5882 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.5566, allocations: 329.3 kB / 0.5885 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.5569, allocations: 229.6 kB / 0.5887 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.052e-05/0.557, allocations: 11.98 kB / 0.5888 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.557, allocations: 38.56 kB / 0.5888 GB, free: 11.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 4.018e-06/0.557, allocations: 0 / 0.5888 GB, free: 11.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002404/0.5594, allocations: 1.418 MB / 0.5902 GB, free: 9.746 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.5595, allocations: 89.17 kB / 0.5903 GB, free: 9.641 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.5599, allocations: 282.9 kB / 0.5905 GB, free: 9.355 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.5599, allocations: 29.7 kB / 0.5906 GB, free: 9.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.5601, allocations: 235.8 kB / 0.5908 GB, free: 9.082 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.5602, allocations: 153.7 kB / 0.5909 GB, free: 8.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.5603, allocations: 8 kB / 0.5909 GB, free: 8.922 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5605, allocations: 342.8 kB / 0.5913 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.5608, allocations: 208.9 kB / 0.5915 GB, free: 8.375 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.5612, allocations: 322.7 kB / 0.5918 GB, free: 8.012 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007683/0.562, allocations: 0.5865 MB / 0.5923 GB, free: 7.375 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.562, allocations: 0 / 0.5923 GB, free: 7.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001351/0.5633, allocations: 0.7012 MB / 0.593 GB, free: 6.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.5634, allocations: 10.5 kB / 0.593 GB, free: 6.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009427/0.5643, allocations: 0.5233 MB / 0.5935 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/0.5648, allocations: 109.6 kB / 0.5937 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.5651, allocations: 75.88 kB / 0.5937 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.5684, allocations: 3.014 MB / 0.5967 GB, free: 2.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.5688, allocations: 27.97 kB / 0.5967 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.5688, allocations: 19.94 kB / 0.5967 GB, free: 2.613 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003785/0.5692, allocations: 209.6 kB / 0.5969 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.5693, allocations: 35.69 kB / 0.5969 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009551/0.5703, allocations: 0.5123 MB / 0.5974 GB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.574e-05/0.5703, allocations: 12 kB / 0.5975 GB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5703, allocations: 7.938 kB / 0.5975 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.5703, allocations: 7.922 kB / 0.5975 GB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.5721, allocations: 1.091 MB / 0.5985 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5721, allocations: 0 / 0.5985 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/0.5726, allocations: 67.94 kB / 0.5986 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.5726, allocations: 11.88 kB / 0.5986 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.5727, allocations: 11.98 kB / 0.5986 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5727, allocations: 0 / 0.5986 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5727, allocations: 4 kB / 0.5986 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.5738, allocations: 0.8277 MB / 0.5994 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.5741, allocations: 148.8 kB / 0.5996 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/0.5741, allocations: 11.98 kB / 0.5996 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.5744, allocations: 15.97 kB / 0.5996 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.5744, allocations: 28.14 kB / 0.5996 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.5745, allocations: 4 kB / 0.5996 GB, free: 15.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002586/0.5747, allocations: 198 kB / 0.5998 GB, free: 15.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5748, allocations: 0 / 0.5998 GB, free: 15.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00066/0.5754, allocations: 139.9 kB / 0.6 GB, free: 15.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (31): * Single equations (assignments): 27 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003672/0.5758, allocations: 147.1 kB / 0.6001 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.5775, allocations: 0.7571 MB / 0.6008 GB, free: 14.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5775, allocations: 0 / 0.6008 GB, free: 14.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.578, allocations: 236.3 kB / 0.6011 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.5786, allocations: 64.55 kB / 0.6011 GB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.5814, allocations: 1.426 MB / 0.6025 GB, free: 12.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.5821, allocations: 0.8704 MB / 0.6034 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.5822, allocations: 39.38 kB / 0.6034 GB, free: 11.53 MB / 442.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5822, allocations: 0 / 0.6034 GB, free: 11.53 MB / 442.7 MB Notification: Performance of Templates: time 0.01191/0.5942, allocations: 7.014 MB / 0.6103 GB, free: 4.516 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)