Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 173.3 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.483/1.483, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007937/0.0007937, allocations: 91.91 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.1867/0.1867, allocations: 38.08 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003671, allocations: 16 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2972, allocations: 56.32 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.4434, allocations: 96.43 MB / 0.5632 GB, free: 5.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.4438, allocations: 91.95 kB / 0.5633 GB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03741/0.4812, allocations: 12.51 MB / 0.5755 GB, free: 9.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4813, allocations: 0 / 0.5755 GB, free: 9.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.711e-05/0.4814, allocations: 8 kB / 0.5755 GB, free: 9.164 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.001735/0.4831, allocations: 0.6608 MB / 0.5761 GB, free: 8.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4831, allocations: 8.031 kB / 0.5761 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007631/0.4839, allocations: 96.3 kB / 0.5762 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.4853, allocations: 0.577 MB / 0.5768 GB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.4854, allocations: 25.38 kB / 0.5768 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.4855, allocations: 32.38 kB / 0.5768 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.4863, allocations: 481.3 kB / 0.5773 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.4864, allocations: 3.938 kB / 0.5773 GB, free: 7.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.4864, allocations: 12 kB / 0.5773 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/0.4865, allocations: 24.98 kB / 0.5773 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.4871, allocations: 347.7 kB / 0.5777 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.4897, allocations: 1.725 MB / 0.5794 GB, free: 4.961 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.49, allocations: 145.1 kB / 0.5795 GB, free: 4.801 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.4903, allocations: 117.7 kB / 0.5796 GB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.4903, allocations: 4 kB / 0.5796 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.4903, allocations: 38.5 kB / 0.5797 GB, free: 4.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 3.527e-06/0.4903, allocations: 0 / 0.5797 GB, free: 4.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001858/0.4922, allocations: 0.896 MB / 0.5805 GB, free: 3.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.4923, allocations: 81.05 kB / 0.5806 GB, free: 3.562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/0.4927, allocations: 308.5 kB / 0.5809 GB, free: 3.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.4927, allocations: 33.7 kB / 0.5809 GB, free: 3.215 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.493, allocations: 247.5 kB / 0.5812 GB, free: 2.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.493, allocations: 59.11 kB / 0.5812 GB, free: 2.906 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.4931, allocations: 4 kB / 0.5812 GB, free: 2.902 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4932, allocations: 346.8 kB / 0.5816 GB, free: 2.555 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.4934, allocations: 100.2 kB / 0.5817 GB, free: 2.453 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.4937, allocations: 197.2 kB / 0.5818 GB, free: 2.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.4941, allocations: 320.5 kB / 0.5821 GB, free: 1.855 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4941, allocations: 3.938 kB / 0.5822 GB, free: 1.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009627/0.4951, allocations: 477.4 kB / 0.5826 GB, free: 1.375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.4951, allocations: 8.438 kB / 0.5826 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006147/0.4957, allocations: 312.4 kB / 0.5829 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005186/0.4963, allocations: 132.7 kB / 0.583 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.4965, allocations: 55.91 kB / 0.5831 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.4994, allocations: 2.212 MB / 0.5853 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.4997, allocations: 15.91 kB / 0.5853 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.4997, allocations: 15.98 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.0002978/0.5, allocations: 201.5 kB / 0.5855 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.5001, allocations: 27.66 kB / 0.5855 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005316/0.5007, allocations: 265.4 kB / 0.5858 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.5007, allocations: 7.938 kB / 0.5858 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5007, allocations: 0 / 0.5858 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5007, allocations: 0 / 0.5858 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.502, allocations: 0.7422 MB / 0.5865 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.502, allocations: 0 / 0.5865 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.5023, allocations: 39.97 kB / 0.5865 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.5024, allocations: 44.7 kB / 0.5866 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.5024, allocations: 0 / 0.5866 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5024, allocations: 4 kB / 0.5866 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5024, allocations: 0 / 0.5866 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.503, allocations: 446.3 kB / 0.587 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5031, allocations: 104.7 kB / 0.5871 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.5032, allocations: 8.031 kB / 0.5871 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.5034, allocations: 8 kB / 0.5871 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.5034, allocations: 15.97 kB / 0.5871 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.5034, allocations: 8 kB / 0.5871 GB, free: 12.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.5037, allocations: 215.3 kB / 0.5873 GB, free: 12.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5037, allocations: 0 / 0.5873 GB, free: 12.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005089/0.5042, allocations: 99.98 kB / 0.5874 GB, free: 12.16 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): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002296/0.5044, allocations: 134.1 kB / 0.5876 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007706/0.5052, allocations: 406.6 kB / 0.588 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5052, allocations: 4.125 kB / 0.588 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.5055, allocations: 185.8 kB / 0.5881 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.506, allocations: 57.69 kB / 0.5882 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.5077, allocations: 1.139 MB / 0.5893 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.5082, allocations: 0.8422 MB / 0.5901 GB, free: 9.309 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.5083, allocations: 23.44 kB / 0.5901 GB, free: 9.285 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5083, allocations: 0 / 0.5901 GB, free: 9.285 MB / 426.7 MB Notification: Performance of Templates: time 0.01008/0.5184, allocations: 5.78 MB / 0.5958 GB, free: 3.5 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)