Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009988/0.0009991, allocations: 169.5 kB / 16.76 MB, free: 5.059 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.458/1.458, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008086/0.0008087, allocations: 85.41 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1965/0.1965, allocations: 38.08 MB / 357.6 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004095, allocations: 8 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3003, allocations: 56.32 MB / 480.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.4491, allocations: 96.61 MB / 0.5634 GB, free: 5.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4494, allocations: 95.92 kB / 0.5634 GB, free: 5.656 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03721/0.4867, allocations: 12.53 MB / 0.5757 GB, free: 8.969 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4867, allocations: 0 / 0.5757 GB, free: 8.969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.174e-05/0.4867, allocations: 8 kB / 0.5757 GB, free: 8.961 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001638/0.4884, allocations: 0.6647 MB / 0.5763 GB, free: 8.246 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4885, allocations: 8.031 kB / 0.5763 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007575/0.4892, allocations: 96.3 kB / 0.5764 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.4906, allocations: 0.577 MB / 0.577 GB, free: 7.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.4907, allocations: 22.12 kB / 0.577 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.4908, allocations: 36 kB / 0.577 GB, free: 7.473 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008991/0.4917, allocations: 472.7 kB / 0.5775 GB, free: 6.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.4918, allocations: 0 / 0.5775 GB, free: 6.984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.4918, allocations: 12 kB / 0.5775 GB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/0.4919, allocations: 24.98 kB / 0.5775 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006167/0.4925, allocations: 331.7 kB / 0.5779 GB, free: 6.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.4952, allocations: 1.702 MB / 0.5795 GB, free: 4.805 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.4955, allocations: 155.6 kB / 0.5797 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.4957, allocations: 105.7 kB / 0.5798 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.4957, allocations: 0 / 0.5798 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4957, allocations: 38.5 kB / 0.5798 GB, free: 4.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 3.045e-06/0.4958, allocations: 3.984 kB / 0.5798 GB, free: 4.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001696/0.4975, allocations: 0.8581 MB / 0.5806 GB, free: 3.543 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.4975, allocations: 81.11 kB / 0.5807 GB, free: 3.445 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.4979, allocations: 300.5 kB / 0.581 GB, free: 3.145 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.4979, allocations: 33.7 kB / 0.581 GB, free: 3.105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.4981, allocations: 251.5 kB / 0.5813 GB, free: 2.852 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.4982, allocations: 63.09 kB / 0.5813 GB, free: 2.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.4982, allocations: 4.125 kB / 0.5813 GB, free: 2.785 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4984, allocations: 342.8 kB / 0.5817 GB, free: 2.441 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.4985, allocations: 96.22 kB / 0.5818 GB, free: 2.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.4988, allocations: 189.2 kB / 0.5819 GB, free: 2.113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.4992, allocations: 320.4 kB / 0.5822 GB, free: 1.754 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4992, allocations: 4 kB / 0.5823 GB, free: 1.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009084/0.5002, allocations: 445.9 kB / 0.5827 GB, free: 1.305 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5002, allocations: 8 kB / 0.5827 GB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005993/0.5008, allocations: 296.4 kB / 0.583 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/0.5013, allocations: 120.8 kB / 0.5831 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.5015, allocations: 63.91 kB / 0.5831 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/0.5044, allocations: 2.146 MB / 0.5852 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.5047, allocations: 27.81 kB / 0.5853 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.5047, allocations: 12 kB / 0.5853 GB, free: 14.5 MB / 426.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 (29): * Single equations (assignments): 28 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002883/0.505, allocations: 197.6 kB / 0.5855 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/0.5051, allocations: 27.66 kB / 0.5855 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.5056, allocations: 249.4 kB / 0.5857 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.5056, allocations: 7.938 kB / 0.5857 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.5056, allocations: 0 / 0.5857 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5056, allocations: 0 / 0.5857 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.5069, allocations: 0.7304 MB / 0.5864 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5069, allocations: 0 / 0.5864 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.5071, allocations: 31.98 kB / 0.5865 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.5072, allocations: 36.89 kB / 0.5865 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.5073, allocations: 11.94 kB / 0.5865 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.5085, allocations: 1.478 MB / 0.588 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5086, allocations: 0 / 0.588 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.5092, allocations: 426.4 kB / 0.5884 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.5093, allocations: 104.9 kB / 0.5885 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.5093, allocations: 3.938 kB / 0.5885 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.5095, allocations: 15.89 kB / 0.5885 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.5096, allocations: 15.92 kB / 0.5885 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.5096, allocations: 4 kB / 0.5885 GB, free: 10.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00025/0.5098, allocations: 219.1 kB / 0.5887 GB, free: 10.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5099, allocations: 0 / 0.5887 GB, free: 10.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005826/0.5104, allocations: 107.9 kB / 0.5888 GB, free: 10.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002313/0.5107, allocations: 126 kB / 0.5889 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007955/0.5115, allocations: 386.9 kB / 0.5893 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5115, allocations: 0 / 0.5893 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.5119, allocations: 232.3 kB / 0.5895 GB, free: 9.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.5124, allocations: 53.75 kB / 0.5896 GB, free: 9.789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.5142, allocations: 1.133 MB / 0.5907 GB, free: 8.617 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.5147, allocations: 0.8383 MB / 0.5915 GB, free: 7.754 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.5148, allocations: 27.42 kB / 0.5915 GB, free: 7.727 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5148, allocations: 4 kB / 0.5915 GB, free: 7.723 MB / 426.7 MB Notification: Performance of Templates: time 0.01027/0.5251, allocations: 5.778 MB / 0.5972 GB, free: 1.945 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)