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.001394/0.001394, allocations: 116.8 kB / 17.04 MB, free: 5.738 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.001558/0.001558, allocations: 196.1 kB / 17.98 MB, free: 4.977 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.623/1.623, allocations: 205.1 MB / 223.8 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.1814/0.1814, allocations: 37.98 MB / 309.2 MB, free: 5.945 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.001814/0.001814, allocations: 67.91 kB / 431.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1243, allocations: 55.23 MB / 487 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.006246/0.1306, allocations: 3.969 MB / 491 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.1336, allocations: 1.855 MB / 492.9 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.134, allocations: 11.94 kB / 492.9 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.1351, allocations: 366.5 kB / 493.2 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.1362, allocations: 406.5 kB / 493.6 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.1366, allocations: 147.6 kB / 493.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.1371, allocations: 490.6 kB / 494.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004048/0.1376, allocations: 210.8 kB / 494.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/0.1379, allocations: 223.1 kB / 494.7 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.1382, allocations: 227.2 kB / 494.9 MB, free: 472 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.1383, allocations: 24 kB / 494.9 MB, free: 448 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007158/0.139, allocations: 438.9 kB / 495.4 MB, free: 8 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.1392, allocations: 159.6 kB / 495.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.1394, allocations: 151.3 kB / 495.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006364/0.14, allocations: 498.6 kB / 496.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.14, allocations: 0 / 496.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.14, allocations: 3.938 kB / 496.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.14, allocations: 0 / 496.2 MB, free: 15.21 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.0008274/0.1409, allocations: 0.5965 MB / 496.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.1409, allocations: 15.89 kB / 496.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.1421, allocations: 132.4 kB / 496.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1425, allocations: 299.7 kB / 497.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1425, allocations: 12.94 kB / 497.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.92e-05/0.1426, allocations: 32.38 kB / 497.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.1433, allocations: 439.9 kB / 497.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1433, allocations: 0 / 497.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.1433, allocations: 12 kB / 497.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.1434, allocations: 24.55 kB / 497.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/0.144, allocations: 425.9 kB / 498.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.1462, allocations: 1.717 MB / 499.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.1466, allocations: 290.1 kB / 0.4884 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.1468, allocations: 137.7 kB / 0.4885 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1468, allocations: 4 kB / 0.4885 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1468, allocations: 34.56 kB / 0.4886 GB, free: 10.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.1468, allocations: 3.938 kB / 0.4886 GB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.0018/0.1486, allocations: 0.7907 MB / 0.4893 GB, free: 9.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/0.1487, allocations: 81.11 kB / 0.4894 GB, free: 9.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.149, allocations: 207 kB / 0.4896 GB, free: 9.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.149, allocations: 33.83 kB / 0.4896 GB, free: 9.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1492, allocations: 187.9 kB / 0.4898 GB, free: 9.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.651e-05/0.1493, allocations: 78.83 kB / 0.4899 GB, free: 9.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.1494, allocations: 61.89 kB / 0.49 GB, free: 9.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1496, allocations: 330.8 kB / 0.4903 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1497, allocations: 108.5 kB / 0.4904 GB, free: 8.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.15, allocations: 205 kB / 0.4906 GB, free: 8.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.1505, allocations: 349 kB / 0.4909 GB, free: 8.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1505, allocations: 0 / 0.4909 GB, free: 8.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007388/0.1512, allocations: 433.9 kB / 0.4913 GB, free: 7.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1512, allocations: 8 kB / 0.4913 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1513, allocations: 4 kB / 0.4913 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.1516, allocations: 84.78 kB / 0.4914 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1519, allocations: 55.91 kB / 0.4915 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.1538, allocations: 1.994 MB / 0.4934 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.154, allocations: 19.92 kB / 0.4934 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.1541, allocations: 16 kB / 0.4934 GB, free: 5.465 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.000191/0.1543, allocations: 177.7 kB / 0.4936 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.1543, allocations: 23.66 kB / 0.4936 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007132/0.155, allocations: 380.1 kB / 0.494 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1551, allocations: 7.984 kB / 0.494 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1551, allocations: 4.188 kB / 0.494 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1551, allocations: 4 kB / 0.494 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.1565, allocations: 0.9101 MB / 0.4949 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1565, allocations: 0 / 0.4949 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.1567, allocations: 47.84 kB / 0.4949 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002567/0.157, allocations: 68.8 kB / 0.495 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.157, allocations: 8.062 kB / 0.495 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.1588, allocations: 1.9 MB / 0.4969 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1589, allocations: 4.031 kB / 0.4969 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.1595, allocations: 467.2 kB / 0.4973 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.1596, allocations: 100.8 kB / 0.4974 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.1596, allocations: 11.94 kB / 0.4974 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1598, allocations: 8.109 kB / 0.4974 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.1599, allocations: 23.92 kB / 0.4975 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.1599, allocations: 12 kB / 0.4975 GB, free: 1.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.16, allocations: 152.4 kB / 0.4976 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.16, allocations: 0 / 0.4976 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005413/0.1606, allocations: 84 kB / 0.4977 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.0001329/0.1607, allocations: 103.2 kB / 0.4978 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007532/0.1615, allocations: 434.2 kB / 0.4982 GB, free: 272 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1615, allocations: 0 / 0.4982 GB, free: 272 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.162, allocations: 291.4 kB / 0.4985 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.1624, allocations: 39.88 kB / 0.4985 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1634, allocations: 0.6055 MB / 0.4991 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1638, allocations: 0.7987 MB / 0.4999 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.1639, allocations: 53.89 kB / 0.5 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.164, allocations: 23.44 kB / 0.5 GB, free: 14.39 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.164, allocations: 0 / 0.5 GB, free: 14.39 MB / 398.1 MB Notification: Performance of Templates: time 0.006506/0.1705, allocations: 2.965 MB / 0.5029 GB, free: 11.42 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)