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.001428/0.001428, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001625/0.001625, allocations: 188.5 kB / 18.67 MB, free: 4.441 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.341/1.341, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1942/0.1942, allocations: 37.98 MB / 309.9 MB, free: 5.965 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.001326/0.001326, allocations: 71.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09877, allocations: 55.24 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006623/0.1054, allocations: 4.565 MB / 492.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1076, allocations: 1.356 MB / 493.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.1078, allocations: 11.94 kB / 493.7 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.1089, allocations: 406.8 kB / 494.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.1094, allocations: 258.8 kB / 494.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.1098, allocations: 155.7 kB / 494.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.1104, allocations: 0.5646 MB / 495.1 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.1108, allocations: 289.2 kB / 495.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.1111, allocations: 255 kB / 495.6 MB, free: 496 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004824/0.1116, allocations: 287 kB / 495.9 MB, free: 208 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.1117, allocations: 32 kB / 495.9 MB, free: 176 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.1119, allocations: 123.8 kB / 496 MB, free: 52 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.1121, allocations: 195.5 kB / 496.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.1123, allocations: 211 kB / 496.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005238/0.1129, allocations: 0.5178 MB / 497 MB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1129, allocations: 0 / 497 MB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1129, allocations: 4 kB / 497 MB, free: 15.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.1129, allocations: 0 / 497 MB, free: 15.13 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.00109/0.114, allocations: 0.6952 MB / 497.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1141, allocations: 11.89 kB / 497.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006113/0.1147, allocations: 84.39 kB / 497.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007539/0.1155, allocations: 423.1 kB / 498.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.1155, allocations: 21.38 kB / 498.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.1156, allocations: 52.11 kB / 498.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.1163, allocations: 476.8 kB / 498.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1163, allocations: 0 / 498.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.1164, allocations: 23.88 kB / 498.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.1165, allocations: 24.98 kB / 498.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.117, allocations: 355.7 kB / 499.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.1192, allocations: 1.721 MB / 0.4891 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.1195, allocations: 157.1 kB / 0.4892 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.1196, allocations: 109.7 kB / 0.4893 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1197, allocations: 3.938 kB / 0.4893 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1197, allocations: 34.56 kB / 0.4894 GB, free: 10.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.1197, allocations: 3.938 kB / 0.4894 GB, free: 10.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001555/0.1213, allocations: 0.8805 MB / 0.4902 GB, free: 9.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1213, allocations: 77.11 kB / 0.4903 GB, free: 9.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.1217, allocations: 308.5 kB / 0.4906 GB, free: 9.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1217, allocations: 33.64 kB / 0.4906 GB, free: 9.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.1219, allocations: 259.4 kB / 0.4909 GB, free: 9.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.1219, allocations: 59.23 kB / 0.4909 GB, free: 8.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.699e-05/0.122, allocations: 61.98 kB / 0.491 GB, free: 8.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1222, allocations: 346.7 kB / 0.4913 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1223, allocations: 96.22 kB / 0.4914 GB, free: 8.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.1226, allocations: 201.4 kB / 0.4916 GB, free: 8.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.1229, allocations: 324.6 kB / 0.4919 GB, free: 7.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.123, allocations: 4 kB / 0.4919 GB, free: 7.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000843/0.1238, allocations: 485.6 kB / 0.4924 GB, free: 7.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1238, allocations: 4 kB / 0.4924 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000582/0.1244, allocations: 316.7 kB / 0.4927 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004739/0.1249, allocations: 136.7 kB / 0.4928 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.1251, allocations: 59.91 kB / 0.4929 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/0.1279, allocations: 2.44 MB / 0.4953 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.1281, allocations: 15.98 kB / 0.4953 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.1281, allocations: 8 kB / 0.4953 GB, free: 4.273 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.0002238/0.1284, allocations: 197.6 kB / 0.4955 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.1284, allocations: 23.72 kB / 0.4955 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.1289, allocations: 269.3 kB / 0.4958 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1289, allocations: 0 / 0.4958 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1289, allocations: 4 kB / 0.4958 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1289, allocations: 4 kB / 0.4958 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.13, allocations: 0.7428 MB / 0.4965 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.13, allocations: 4.062 kB / 0.4965 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.1302, allocations: 35.98 kB / 0.4965 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.1304, allocations: 40.89 kB / 0.4966 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.1304, allocations: 4 kB / 0.4966 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1304, allocations: 4 kB / 0.4966 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1304, allocations: 3.938 kB / 0.4966 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.1309, allocations: 450.2 kB / 0.497 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.131, allocations: 104.8 kB / 0.4971 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.1311, allocations: 4 kB / 0.4971 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1312, allocations: 11.98 kB / 0.4971 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1313, allocations: 15.86 kB / 0.4971 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1313, allocations: 8 kB / 0.4971 GB, free: 2.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.1315, allocations: 219.1 kB / 0.4974 GB, free: 2.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1315, allocations: 0 / 0.4974 GB, free: 2.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004567/0.132, allocations: 91.92 kB / 0.4974 GB, free: 1.922 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.0001309/0.1321, allocations: 103.2 kB / 0.4975 GB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007054/0.1328, allocations: 414.9 kB / 0.4979 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1328, allocations: 0 / 0.4979 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.1331, allocations: 185.8 kB / 0.4981 GB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.1335, allocations: 69.31 kB / 0.4982 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1348, allocations: 0.9073 MB / 0.4991 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.1353, allocations: 0.8419 MB / 0.4999 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/0.1354, allocations: 23.44 kB / 0.4999 GB, free: 15.28 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1354, allocations: 0 / 0.4999 GB, free: 15.28 MB / 398.1 MB Notification: Performance of Templates: time 0.009356/0.1447, allocations: 5.787 MB / 0.5056 GB, free: 9.48 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)