Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 184.8 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.00111, allocations: 96.08 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2713/0.2713, allocations: 37.97 MB / 353.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.146e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 56.31 MB / 473.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5181/0.6377, allocations: 96.49 MB / 0.5563 GB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.6381, allocations: 87.94 kB / 0.5563 GB, free: 7.168 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05431/0.6924, allocations: 12.54 MB / 0.5686 GB, free: 10.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.6924, allocations: 0 / 0.5686 GB, free: 10.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.6925, allocations: 8 kB / 0.5686 GB, free: 10.48 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.001289/0.6938, allocations: 0.6093 MB / 0.5692 GB, free: 9.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.6938, allocations: 15.97 kB / 0.5692 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000922/0.6948, allocations: 91.33 kB / 0.5693 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003261/0.6981, allocations: 0.8448 MB / 0.5701 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.6981, allocations: 28.78 kB / 0.5701 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-05/0.6982, allocations: 35.97 kB / 0.5702 GB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.6993, allocations: 462.2 kB / 0.5706 GB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.6994, allocations: 4 kB / 0.5706 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.6994, allocations: 12 kB / 0.5706 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-05/0.6995, allocations: 20.73 kB / 0.5707 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008594/0.7004, allocations: 326.9 kB / 0.571 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003298/0.7037, allocations: 1.705 MB / 0.5726 GB, free: 6.109 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.7041, allocations: 145.1 kB / 0.5728 GB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.7044, allocations: 109.7 kB / 0.5729 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.7044, allocations: 0 / 0.5729 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.7045, allocations: 38.56 kB / 0.5729 GB, free: 5.789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.7045, allocations: 0 / 0.5729 GB, free: 5.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001818/0.7063, allocations: 0.6894 MB / 0.5736 GB, free: 5.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.7064, allocations: 81.11 kB / 0.5737 GB, free: 4.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.7068, allocations: 262.7 kB / 0.5739 GB, free: 4.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.7069, allocations: 37.58 kB / 0.574 GB, free: 4.641 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.7071, allocations: 305.8 kB / 0.5742 GB, free: 4.336 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.7072, allocations: 59.11 kB / 0.5743 GB, free: 4.277 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.7072, allocations: 4 kB / 0.5743 GB, free: 4.273 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.7074, allocations: 326.8 kB / 0.5746 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.7077, allocations: 96.28 kB / 0.5747 GB, free: 3.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.708, allocations: 185.3 kB / 0.5749 GB, free: 3.621 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.7083, allocations: 132.5 kB / 0.575 GB, free: 3.492 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7084, allocations: 0 / 0.575 GB, free: 3.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001446/0.7098, allocations: 436.8 kB / 0.5754 GB, free: 3.059 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.7099, allocations: 8 kB / 0.5754 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009622/0.7108, allocations: 284.5 kB / 0.5757 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007609/0.7116, allocations: 124.9 kB / 0.5758 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.712, allocations: 55.92 kB / 0.5759 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003939/0.716, allocations: 2.152 MB / 0.578 GB, free: 316 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.7164, allocations: 19.91 kB / 0.578 GB, free: 296 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.7165, allocations: 12 kB / 0.578 GB, free: 284 kB / 410.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 () * 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.0001429/0.7166, allocations: 124.8 kB / 0.5781 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.7167, allocations: 31.7 kB / 0.5782 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007132/0.7174, allocations: 241.1 kB / 0.5784 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.7174, allocations: 4 kB / 0.5784 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.7175, allocations: 0 / 0.5784 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7175, allocations: 7.984 kB / 0.5784 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.7193, allocations: 0.7117 MB / 0.5791 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.7193, allocations: 4 kB / 0.5791 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.7197, allocations: 39.92 kB / 0.5791 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/0.7199, allocations: 44.83 kB / 0.5792 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.72, allocations: 4 kB / 0.5792 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.7218, allocations: 1.474 MB / 0.5806 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.7218, allocations: 7.938 kB / 0.5806 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.7228, allocations: 458.4 kB / 0.5811 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.7231, allocations: 104.8 kB / 0.5812 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.7232, allocations: 8 kB / 0.5812 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.7235, allocations: 11.98 kB / 0.5812 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.7235, allocations: 19.94 kB / 0.5812 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.7236, allocations: 4 kB / 0.5812 GB, free: 12.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003701/0.724, allocations: 214.2 kB / 0.5814 GB, free: 12.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.724, allocations: 0 / 0.5814 GB, free: 12.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007103/0.7247, allocations: 92 kB / 0.5815 GB, free: 12.42 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 () * 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.0002514/0.725, allocations: 135.1 kB / 0.5816 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.726, allocations: 390.8 kB / 0.582 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.7261, allocations: 4.312 kB / 0.582 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.7266, allocations: 223.3 kB / 0.5822 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.7272, allocations: 61.23 kB / 0.5823 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.7289, allocations: 0.6997 MB / 0.583 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.7295, allocations: 0.8421 MB / 0.5838 GB, free: 9.977 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.7297, allocations: 31.42 kB / 0.5838 GB, free: 9.945 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/0.7297, allocations: 3.938 kB / 0.5838 GB, free: 9.941 MB / 426.7 MB Notification: Performance of Templates: time 0.01251/0.7422, allocations: 5.627 MB / 0.5893 GB, free: 4.309 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)