Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 102.5 kB / 17.74 MB, free: 5.309 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.001713/0.001713, allocations: 197.2 kB / 18.67 MB, free: 4.383 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.285/1.285, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1772/0.1772, allocations: 37.99 MB / 309.9 MB, free: 5.938 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.001447/0.001447, allocations: 71.03 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09357, allocations: 55.25 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.006359/0.09999, allocations: 4.93 MB / 492.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.1035, allocations: 2.528 MB / 495.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.1039, allocations: 11.94 kB / 495.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.1052, allocations: 430.7 kB / 495.7 MB, free: 412 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.1064, allocations: 0.5136 MB / 496.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.1071, allocations: 275.2 kB / 496.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007338/0.1078, allocations: 0.7358 MB / 497.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004688/0.1083, allocations: 341.6 kB / 497.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.1087, allocations: 326.7 kB / 497.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.1091, allocations: 318.9 kB / 498.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.1091, allocations: 36 kB / 498.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008914/0.11, allocations: 0.6352 MB / 498.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.1102, allocations: 195.5 kB / 499 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.1105, allocations: 250.7 kB / 499.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008574/0.1113, allocations: 0.7557 MB / 0.4883 GB, free: 12.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1113, allocations: 4 kB / 0.4883 GB, free: 12.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1114, allocations: 0 / 0.4883 GB, free: 12.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1114, allocations: 0 / 0.4883 GB, free: 12.05 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001049/0.1124, allocations: 0.7723 MB / 0.4891 GB, free: 11.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1125, allocations: 11.89 kB / 0.4891 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.1141, allocations: 204.1 kB / 0.4893 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.1147, allocations: 378.2 kB / 0.4896 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.1147, allocations: 29.38 kB / 0.4897 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.342e-05/0.1148, allocations: 44.36 kB / 0.4897 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009171/0.1157, allocations: 0.6304 MB / 0.4903 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.1158, allocations: 7.984 kB / 0.4903 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.1158, allocations: 16 kB / 0.4903 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.897e-05/0.1159, allocations: 36.98 kB / 0.4904 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009188/0.1168, allocations: 0.6128 MB / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.12, allocations: 2.241 MB / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.1206, allocations: 494.7 kB / 0.4936 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.121, allocations: 237.6 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.121, allocations: 4 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1211, allocations: 38.56 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.1211, allocations: 4 kB / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.003509/0.1246, allocations: 1.705 MB / 0.4956 GB, free: 4.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.1246, allocations: 89.05 kB / 0.4957 GB, free: 4.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.1249, allocations: 283.1 kB / 0.4959 GB, free: 3.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.125, allocations: 33.7 kB / 0.496 GB, free: 3.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.1251, allocations: 224 kB / 0.4962 GB, free: 3.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.1252, allocations: 149.8 kB / 0.4963 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.1254, allocations: 94.14 kB / 0.4964 GB, free: 3.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1255, allocations: 346.8 kB / 0.4967 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.1258, allocations: 177 kB / 0.4969 GB, free: 2.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.1261, allocations: 290.4 kB / 0.4972 GB, free: 2.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.1268, allocations: 0.508 MB / 0.4977 GB, free: 1.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1268, allocations: 0 / 0.4977 GB, free: 1.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001209/0.128, allocations: 0.6771 MB / 0.4983 GB, free: 1.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1281, allocations: 11.94 kB / 0.4983 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1281, allocations: 4 kB / 0.4983 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006034/0.1287, allocations: 180.9 kB / 0.4985 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.1291, allocations: 95.83 kB / 0.4986 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/0.1326, allocations: 2.79 MB / 0.5013 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.1329, allocations: 19.98 kB / 0.5014 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.1329, allocations: 20 kB / 0.5014 GB, free: 14 MB / 398.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 (47): * Single equations (assignments): 46 * 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 {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.1332, allocations: 193.7 kB / 0.5016 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.1333, allocations: 35.67 kB / 0.5016 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.1344, allocations: 0.6411 MB / 0.5022 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1345, allocations: 3.984 kB / 0.5022 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1345, allocations: 3.938 kB / 0.5022 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.442e-05/0.1346, allocations: 116.6 kB / 0.5023 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.1346, allocations: 8 kB / 0.5023 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1348, allocations: 19.98 kB / 0.5024 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.1349, allocations: 39.88 kB / 0.5024 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001388/0.1363, allocations: 0.7812 MB / 0.5032 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009866/0.1373, allocations: 0.8864 MB / 0.504 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002656/0.1376, allocations: 203.6 kB / 0.5042 GB, free: 11.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.1378, allocations: 197.9 kB / 0.5044 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Backend: time 4.91e-07/0.1378, allocations: 4 kB / 0.5044 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.1397, allocations: 0.8678 MB / 0.5053 GB, free: 9.922 MB / 398.1 MB Notification: Performance of SimCode: time 0.001899/0.1416, allocations: 1.55 MB / 0.5068 GB, free: 8.324 MB / 398.1 MB Notification: Performance of Templates: time 0.0136/0.1553, allocations: 7.911 MB / 0.5145 GB, free: 412 kB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1)