Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 105.2 kB / 16.45 MB, free: 6.398 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.001152/0.001152, allocations: 192.2 kB / 17.39 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05218/0.05218, allocations: 8.108 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 59.91 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09931/0.1004, allocations: 51.53 MB / 466 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.004504/0.105, allocations: 2.832 MB / 468.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.108, allocations: 1.652 MB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003266/0.1084, allocations: 11.94 kB / 470.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006322/0.109, allocations: 182.9 kB / 470.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008021/0.1099, allocations: 230.5 kB / 470.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.1125, allocations: 1.252 MB / 472.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009159/0.1135, allocations: 493.6 kB / 472.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.1138, allocations: 177 kB / 472.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.1141, allocations: 203.3 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.1145, allocations: 274.9 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.444e-05/0.1146, allocations: 40 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006527/0.1153, allocations: 279.7 kB / 473.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1154, allocations: 95.66 kB / 473.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.1157, allocations: 230.8 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000941/0.1166, allocations: 0.6737 MB / 474.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1166, allocations: 0 / 474.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1167, allocations: 0 / 474.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.1167, allocations: 0 / 474.6 MB, free: 9.531 MB / 350.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.005858/0.1225, allocations: 1.509 MB / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1226, allocations: 8.031 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.1228, allocations: 52.38 kB / 476.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.1233, allocations: 351.3 kB / 476.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.1233, allocations: 33.38 kB / 476.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.399e-05/0.1234, allocations: 44.38 kB / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/0.1243, allocations: 0.5815 MB / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1244, allocations: 192 / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.1244, allocations: 19.94 kB / 477.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1244, allocations: 8 kB / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008332/0.1253, allocations: 0.5271 MB / 477.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/0.1283, allocations: 2.269 MB / 480 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.1295, allocations: 0.8454 MB / 480.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.1299, allocations: 326 kB / 481.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.208e-05/0.13, allocations: 16.41 kB / 481.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.1301, allocations: 46.94 kB / 481.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.964e-06/0.1301, allocations: 0 / 481.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.007334/0.1374, allocations: 2.03 MB / 483.2 MB, free: 464 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.1375, allocations: 111.2 kB / 483.3 MB, free: 328 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.1378, allocations: 274.9 kB / 483.6 MB, free: 40 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.301e-05/0.1379, allocations: 41.69 kB / 483.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1381, allocations: 181.3 kB / 483.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.1382, allocations: 181.3 kB / 484 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.1385, allocations: 118.3 kB / 484.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1386, allocations: 350.8 kB / 484.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.1391, allocations: 325.2 kB / 484.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.1397, allocations: 381.6 kB / 485.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.1408, allocations: 0.7134 MB / 485.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1408, allocations: 0 / 485.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003686/0.1445, allocations: 1.34 MB / 487.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.1445, allocations: 8 kB / 487.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.1445, allocations: 0 / 487.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003629/0.1482, allocations: 0.7839 MB / 488 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.1487, allocations: 111.8 kB / 488.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00766/0.1563, allocations: 4.174 MB / 492.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.1569, allocations: 55.42 kB / 492.3 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.096e-05/0.157, allocations: 20 kB / 492.3 MB, free: 7.102 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002651/0.1573, allocations: 173.8 kB / 492.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.1574, allocations: 35.56 kB / 492.6 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/0.1611, allocations: 1.319 MB / 493.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.038e-05/0.1612, allocations: 8 kB / 493.9 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1612, allocations: 0 / 493.9 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.1613, allocations: 3.938 kB / 493.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004962/0.1662, allocations: 1.985 MB / 495.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.1663, allocations: 3.938 kB / 495.9 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.1666, allocations: 71.91 kB / 495.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003469/0.1701, allocations: 0.7528 MB / 496.7 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.102e-05/0.1702, allocations: 15.98 kB / 496.7 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007206/0.1774, allocations: 4.12 MB / 0.4891 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1774, allocations: 0 / 0.4891 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003502/0.1809, allocations: 1.312 MB / 0.4904 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.1811, allocations: 120.5 kB / 0.4905 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/0.1812, allocations: 12 kB / 0.4905 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.1816, allocations: 33.84 kB / 0.4905 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.1817, allocations: 44.5 kB / 0.4906 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.1818, allocations: 16 kB / 0.4906 GB, free: 12.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.182, allocations: 190 kB / 0.4908 GB, free: 12.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.182, allocations: 0 / 0.4908 GB, free: 12.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006844/0.1827, allocations: 199.8 kB / 0.491 GB, free: 12.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002415/0.1829, allocations: 135.2 kB / 0.4911 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002672/0.1856, allocations: 1.123 MB / 0.4922 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1856, allocations: 0 / 0.4922 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.1874, allocations: 0.7318 MB / 0.4929 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.1879, allocations: 36.89 kB / 0.4929 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1894, allocations: 0.8527 MB / 0.4938 GB, free: 9.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.1898, allocations: 0.8218 MB / 0.4946 GB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000215/0.19, allocations: 67.22 kB / 0.4946 GB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.1901, allocations: 39.42 kB / 0.4947 GB, free: 8.559 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1901, allocations: 0 / 0.4947 GB, free: 8.559 MB / 382.1 MB Notification: Performance of Templates: time 0.2188/0.4089, allocations: 12.23 MB / 0.5066 GB, free: 45.37 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)