Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001499/0.001499, allocations: 189.5 kB / 18.67 MB, free: 4.422 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.466/1.466, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1777/0.1777, allocations: 37.99 MB / 309.9 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.001375/0.001375, allocations: 63.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1064, allocations: 55.24 MB / 487.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005962/0.1124, allocations: 3.965 MB / 491.7 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.1154, allocations: 1.859 MB / 493.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.1157, allocations: 15.88 kB / 493.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.117, allocations: 366.5 kB / 494 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.1182, allocations: 402.5 kB / 494.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.1187, allocations: 143.6 kB / 494.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007276/0.1194, allocations: 490.6 kB / 495 MB, free: 1.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004377/0.1199, allocations: 218.7 kB / 495.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004748/0.1204, allocations: 211.1 kB / 495.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004487/0.1208, allocations: 239.2 kB / 495.6 MB, free: 468 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.069e-05/0.1209, allocations: 20 kB / 495.7 MB, free: 448 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008414/0.1217, allocations: 446.9 kB / 496.1 MB, free: 0 / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.122, allocations: 151.7 kB / 496.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.1222, allocations: 155.2 kB / 496.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008976/0.1231, allocations: 0.4908 MB / 496.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1231, allocations: 0 / 496.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1231, allocations: 4 kB / 496.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.1232, allocations: 0 / 496.9 MB, free: 15.2 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001052/0.1242, allocations: 0.5965 MB / 497.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1243, allocations: 11.89 kB / 497.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.1256, allocations: 132.4 kB / 497.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.1261, allocations: 299.7 kB / 497.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.1261, allocations: 16.94 kB / 497.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.1262, allocations: 28.38 kB / 498 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.1269, allocations: 439.9 kB / 498.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.1269, allocations: 4 kB / 498.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.127, allocations: 11.98 kB / 498.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/0.127, allocations: 20.56 kB / 498.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.1277, allocations: 429.9 kB / 498.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.13, allocations: 1.714 MB / 0.4888 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.1304, allocations: 290.1 kB / 0.4891 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1306, allocations: 137.7 kB / 0.4892 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.1307, allocations: 4 kB / 0.4892 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.1307, allocations: 42.5 kB / 0.4893 GB, free: 10.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 2.655e-06/0.1307, allocations: 0 / 0.4893 GB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001858/0.1326, allocations: 0.7829 MB / 0.49 GB, free: 9.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.1327, allocations: 89.09 kB / 0.4901 GB, free: 9.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.1329, allocations: 203.1 kB / 0.4903 GB, free: 9.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.1329, allocations: 33.7 kB / 0.4904 GB, free: 9.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1331, allocations: 180 kB / 0.4905 GB, free: 9.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.181e-05/0.1332, allocations: 90.77 kB / 0.4906 GB, free: 9.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/0.1333, allocations: 57.89 kB / 0.4907 GB, free: 9.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1334, allocations: 334.8 kB / 0.491 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.1336, allocations: 100.5 kB / 0.4911 GB, free: 8.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.1338, allocations: 209 kB / 0.4913 GB, free: 8.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.1343, allocations: 352.9 kB / 0.4916 GB, free: 8.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1343, allocations: 3.938 kB / 0.4916 GB, free: 8.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007339/0.135, allocations: 426 kB / 0.492 GB, free: 7.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1351, allocations: 4 kB / 0.492 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1351, allocations: 4 kB / 0.492 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004025/0.1355, allocations: 92.84 kB / 0.4921 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.1357, allocations: 51.91 kB / 0.4922 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.1379, allocations: 2.005 MB / 0.4941 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1381, allocations: 11.98 kB / 0.4941 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.1381, allocations: 19.98 kB / 0.4942 GB, free: 5.453 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.1383, allocations: 173.7 kB / 0.4943 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.1384, allocations: 23.66 kB / 0.4944 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007244/0.1391, allocations: 388.1 kB / 0.4947 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1391, allocations: 4 kB / 0.4947 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1391, allocations: 0 / 0.4947 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1391, allocations: 0 / 0.4947 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.1406, allocations: 0.9102 MB / 0.4956 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1406, allocations: 0 / 0.4956 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1408, allocations: 44.05 kB / 0.4957 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/0.1411, allocations: 72.86 kB / 0.4957 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.1411, allocations: 11.98 kB / 0.4957 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.1429, allocations: 1.9 MB / 0.4976 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.143, allocations: 0 / 0.4976 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006957/0.1437, allocations: 475.1 kB / 0.498 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.374e-05/0.1438, allocations: 96.83 kB / 0.4981 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.1438, allocations: 4 kB / 0.4981 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.144, allocations: 11.98 kB / 0.4982 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.144, allocations: 23.92 kB / 0.4982 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.144, allocations: 11.98 kB / 0.4982 GB, free: 1.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1442, allocations: 148.4 kB / 0.4983 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1442, allocations: 4 kB / 0.4983 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005088/0.1447, allocations: 80 kB / 0.4984 GB, free: 0.8125 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.1449, allocations: 111.1 kB / 0.4985 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007944/0.1457, allocations: 430.2 kB / 0.4989 GB, free: 268 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1457, allocations: 3.938 kB / 0.4989 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.1462, allocations: 287.7 kB / 0.4992 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.1466, allocations: 44 kB / 0.4992 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.1477, allocations: 0.6538 MB / 0.4999 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.1482, allocations: 0.7948 MB / 0.5007 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.1482, allocations: 23.44 kB / 0.5007 GB, free: 14.38 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1482, allocations: 0 / 0.5007 GB, free: 14.38 MB / 398.1 MB Notification: Performance of Templates: time 0.00745/0.1557, allocations: 4.383 MB / 0.505 GB, free: 9.992 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)