Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 115.7 kB / 17.04 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 195 kB / 17.98 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1564/0.1564, allocations: 37.98 MB / 309.2 MB, free: 5.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.91 kB / 431.8 MB, free: 15.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08036/0.08164, allocations: 55.25 MB / 487.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005062/0.08673, allocations: 4.565 MB / 491.6 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.08842, allocations: 1.356 MB / 493 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.08856, allocations: 11.94 kB / 493 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000938/0.08951, allocations: 394.3 kB / 493.4 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.08991, allocations: 250.8 kB / 493.6 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.09025, allocations: 167.6 kB / 493.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.09074, allocations: 0.5569 MB / 494.3 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.09112, allocations: 297.1 kB / 494.6 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.09139, allocations: 250.9 kB / 494.9 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.0918, allocations: 291 kB / 495.2 MB, free: 332 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.09185, allocations: 32 kB / 495.2 MB, free: 300 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.09205, allocations: 119.8 kB / 495.3 MB, free: 180 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.09223, allocations: 191.5 kB / 495.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.09243, allocations: 226.9 kB / 495.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.09287, allocations: 0.5023 MB / 496.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.09289, allocations: 0 / 496.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09289, allocations: 0 / 496.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.0929, allocations: 3.938 kB / 496.2 MB, free: 15.26 MB / 382.1 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.0009384/0.09385, allocations: 0.7107 MB / 496.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.09389, allocations: 11.89 kB / 497 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005367/0.09443, allocations: 84.41 kB / 497 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.09499, allocations: 415.2 kB / 497.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.09502, allocations: 25.38 kB / 497.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.09514, allocations: 48.05 kB / 497.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005963/0.09574, allocations: 480.8 kB / 498 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.09577, allocations: 0 / 498 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.09581, allocations: 12 kB / 498 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.09591, allocations: 32.92 kB / 498 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.09641, allocations: 347.7 kB / 498.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.09825, allocations: 1.725 MB / 0.4884 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.09851, allocations: 149.2 kB / 0.4885 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.09866, allocations: 113.7 kB / 0.4886 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.09869, allocations: 7.938 kB / 0.4886 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.09872, allocations: 42.5 kB / 0.4887 GB, free: 10.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.09872, allocations: 0 / 0.4887 GB, free: 10.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001303/0.1, allocations: 0.8845 MB / 0.4895 GB, free: 9.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.1001, allocations: 81.09 kB / 0.4896 GB, free: 9.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.1004, allocations: 304.6 kB / 0.4899 GB, free: 9.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1004, allocations: 25.7 kB / 0.4899 GB, free: 9.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.1006, allocations: 255.4 kB / 0.4902 GB, free: 9.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.1006, allocations: 71.09 kB / 0.4902 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.1007, allocations: 57.98 kB / 0.4903 GB, free: 9.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1008, allocations: 350.8 kB / 0.4906 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.101, allocations: 96.22 kB / 0.4907 GB, free: 8.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.1012, allocations: 197.3 kB / 0.4909 GB, free: 8.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.1015, allocations: 320.6 kB / 0.4912 GB, free: 7.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1015, allocations: 4 kB / 0.4912 GB, free: 7.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007748/0.1023, allocations: 477.3 kB / 0.4917 GB, free: 7.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1023, allocations: 4.438 kB / 0.4917 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005553/0.1029, allocations: 316.7 kB / 0.492 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004366/0.1033, allocations: 144.7 kB / 0.4921 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.1035, allocations: 51.91 kB / 0.4922 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.106, allocations: 2.444 MB / 0.4946 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.1061, allocations: 11.98 kB / 0.4946 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.1062, allocations: 20 kB / 0.4946 GB, free: 4.395 MB / 382.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.1063, allocations: 189.7 kB / 0.4948 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.1064, allocations: 23.72 kB / 0.4948 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.1068, allocations: 273.2 kB / 0.495 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1068, allocations: 0 / 0.495 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1068, allocations: 8.062 kB / 0.4951 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1069, allocations: 3.984 kB / 0.4951 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.1079, allocations: 0.7428 MB / 0.4958 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1079, allocations: 4 kB / 0.4958 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.1081, allocations: 39.91 kB / 0.4958 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.136e-05/0.1082, allocations: 36.83 kB / 0.4959 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1082, allocations: 4 kB / 0.4959 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.1083, allocations: 8.062 kB / 0.4959 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1083, allocations: 7.875 kB / 0.4959 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.1088, allocations: 450.2 kB / 0.4963 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.447e-05/0.1089, allocations: 100.7 kB / 0.4964 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.109, allocations: 12.03 kB / 0.4964 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.1091, allocations: 4 kB / 0.4964 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.1091, allocations: 19.92 kB / 0.4964 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1092, allocations: 7.984 kB / 0.4964 GB, free: 2.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.1094, allocations: 219.1 kB / 0.4967 GB, free: 2.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1094, allocations: 0 / 0.4967 GB, free: 2.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.1098, allocations: 84 kB / 0.4967 GB, free: 2.043 MB / 382.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001294/0.11, allocations: 111.2 kB / 0.4968 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007125/0.1107, allocations: 411.1 kB / 0.4972 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1107, allocations: 0 / 0.4972 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.1109, allocations: 181.9 kB / 0.4974 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.1114, allocations: 65.17 kB / 0.4975 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1128, allocations: 0.8549 MB / 0.4983 GB, free: 368 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.1133, allocations: 0.838 MB / 0.4991 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.1135, allocations: 66.91 kB / 0.4992 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.1136, allocations: 23.44 kB / 0.4992 GB, free: 15.41 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1136, allocations: 7.875 kB / 0.4992 GB, free: 15.4 MB / 398.1 MB Notification: Performance of Templates: time 0.007514/0.1211, allocations: 3.795 MB / 0.5029 GB, free: 11.6 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)