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.001648/0.001648, allocations: 109.2 kB / 17.75 MB, free: 5.332 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.001876/0.001876, allocations: 184.3 kB / 18.68 MB, free: 4.41 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.343/1.343, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1788/0.1788, allocations: 37.98 MB / 309.9 MB, free: 5.957 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.001451/0.001451, allocations: 75.89 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.09025, allocations: 55.24 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006654/0.09694, allocations: 4.569 MB / 492.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.0993, allocations: 1.356 MB / 493.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.09964, allocations: 15.88 kB / 493.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.1009, allocations: 398.3 kB / 494.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006312/0.1016, allocations: 254.8 kB / 494.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.1021, allocations: 155.7 kB / 494.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006902/0.1028, allocations: 0.5724 MB / 495.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004974/0.1033, allocations: 289.1 kB / 495.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.1037, allocations: 262.9 kB / 495.6 MB, free: 472 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005656/0.1043, allocations: 279.1 kB / 495.9 MB, free: 192 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.1045, allocations: 32 kB / 495.9 MB, free: 160 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004062/0.1049, allocations: 119.8 kB / 496.1 MB, free: 40 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.1052, allocations: 195.5 kB / 496.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.1055, allocations: 214.9 kB / 496.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.1062, allocations: 0.5178 MB / 497 MB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1062, allocations: 0 / 497 MB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1062, allocations: 0 / 497 MB, free: 15.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.1062, allocations: 0 / 497 MB, free: 15.12 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.001337/0.1076, allocations: 0.6991 MB / 497.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1076, allocations: 11.89 kB / 497.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000635/0.1083, allocations: 84.34 kB / 497.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000713/0.109, allocations: 419.2 kB / 498.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.109, allocations: 25.38 kB / 498.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.1092, allocations: 52.09 kB / 498.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.1098, allocations: 468.8 kB / 498.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.1099, allocations: 4 kB / 498.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.1099, allocations: 15.94 kB / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.11, allocations: 28.98 kB / 498.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.1106, allocations: 355.7 kB / 499.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.1129, allocations: 1.725 MB / 0.4891 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1132, allocations: 153.1 kB / 0.4892 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.1134, allocations: 109.7 kB / 0.4893 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1134, allocations: 11.92 kB / 0.4894 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1135, allocations: 34.5 kB / 0.4894 GB, free: 10.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.1135, allocations: 0 / 0.4894 GB, free: 10.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001539/0.115, allocations: 0.8805 MB / 0.4902 GB, free: 9.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.1151, allocations: 81.11 kB / 0.4903 GB, free: 9.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.1154, allocations: 308.5 kB / 0.4906 GB, free: 9.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1155, allocations: 33.64 kB / 0.4906 GB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.1157, allocations: 255.5 kB / 0.4909 GB, free: 9.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.1157, allocations: 59.11 kB / 0.4909 GB, free: 8.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1158, allocations: 61.97 kB / 0.491 GB, free: 8.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.116, allocations: 342.8 kB / 0.4913 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.1162, allocations: 100.2 kB / 0.4914 GB, free: 8.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.1164, allocations: 201.4 kB / 0.4916 GB, free: 8.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.1168, allocations: 328.5 kB / 0.4919 GB, free: 7.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1168, allocations: 0 / 0.4919 GB, free: 7.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009269/0.1178, allocations: 481.5 kB / 0.4924 GB, free: 7.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1178, allocations: 8 kB / 0.4924 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006521/0.1184, allocations: 316.7 kB / 0.4927 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005132/0.119, allocations: 136.7 kB / 0.4928 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.1192, allocations: 60.06 kB / 0.4929 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.1222, allocations: 2.448 MB / 0.4953 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.1224, allocations: 11.98 kB / 0.4953 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.1225, allocations: 12 kB / 0.4953 GB, free: 4.254 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.000234/0.1227, allocations: 197.6 kB / 0.4955 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.1228, allocations: 23.72 kB / 0.4955 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.1233, allocations: 265.3 kB / 0.4958 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1233, allocations: 8 kB / 0.4958 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1233, allocations: 0 / 0.4958 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.1234, allocations: 100.8 kB / 0.4959 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.1235, allocations: 15.91 kB / 0.4959 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1236, allocations: 7.984 kB / 0.4959 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.1237, allocations: 19.92 kB / 0.4959 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007422/0.1244, allocations: 445 kB / 0.4963 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005591/0.125, allocations: 0.5638 MB / 0.4969 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001243/0.1251, allocations: 83.98 kB / 0.497 GB, free: 2.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.1253, allocations: 219.1 kB / 0.4972 GB, free: 2.258 MB / 382.1 MB Notification: Performance of Backend: time 2e-07/0.1253, allocations: 0 / 0.4972 GB, free: 2.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.1265, allocations: 492.4 kB / 0.4976 GB, free: 1.758 MB / 382.1 MB Notification: Performance of SimCode: time 0.001755/0.1283, allocations: 1.326 MB / 0.4989 GB, free: 396 kB / 382.1 MB Notification: Performance of Templates: time 0.01047/0.1388, allocations: 4.774 MB / 0.5036 GB, free: 11.61 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)