Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 108 kB / 16.45 MB, free: 6.035 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.0009949/0.0009949, allocations: 185.3 kB / 17.38 MB, free: 5.562 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.372/1.372, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04702/0.04702, allocations: 8.1 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09432, allocations: 51.52 MB / 466 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.004351/0.09874, allocations: 2.796 MB / 468.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.1014, allocations: 1.753 MB / 470.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003205/0.1017, allocations: 8 kB / 470.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.1023, allocations: 174.9 kB / 470.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007322/0.1031, allocations: 266.3 kB / 471 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.1051, allocations: 1.116 MB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006957/0.1058, allocations: 0.5132 MB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.106, allocations: 168.2 kB / 472.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.1063, allocations: 211.2 kB / 473 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.1066, allocations: 254.9 kB / 473.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.397e-05/0.1067, allocations: 40 kB / 473.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005287/0.1072, allocations: 267.7 kB / 473.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.1073, allocations: 107.5 kB / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.1076, allocations: 246.8 kB / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008401/0.1085, allocations: 0.6733 MB / 474.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1085, allocations: 0 / 474.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1085, allocations: 0 / 474.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.1085, allocations: 0 / 474.6 MB, free: 9.547 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.006091/0.1146, allocations: 1.672 MB / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1147, allocations: 12.03 kB / 476.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.1148, allocations: 60.61 kB / 476.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.1152, allocations: 368.1 kB / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1153, allocations: 33.38 kB / 476.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.1153, allocations: 40.38 kB / 476.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00095/0.1163, allocations: 0.6011 MB / 477.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1163, allocations: 3.938 kB / 477.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.1164, allocations: 16 kB / 477.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1164, allocations: 8 kB / 477.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008191/0.1172, allocations: 0.5428 MB / 477.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.1203, allocations: 2.227 MB / 480.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.1216, allocations: 0.8849 MB / 481 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/0.1221, allocations: 402.4 kB / 481.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.1237, allocations: 1.342 MB / 482.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1237, allocations: 46.94 kB / 482.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.693e-06/0.1237, allocations: 0 / 482.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.009425/0.1332, allocations: 2.65 MB / 485.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.1333, allocations: 111.2 kB / 485.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.1336, allocations: 345.4 kB / 485.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.547e-05/0.1337, allocations: 41.7 kB / 485.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1338, allocations: 197.5 kB / 486.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.134, allocations: 190.4 kB / 486.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.1342, allocations: 146.6 kB / 486.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1344, allocations: 354.8 kB / 486.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.1349, allocations: 401.9 kB / 487.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.1356, allocations: 0.5089 MB / 487.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.1369, allocations: 0.9531 MB / 488.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1369, allocations: 0 / 488.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004536/0.1415, allocations: 1.782 MB / 490.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.1415, allocations: 4 kB / 490.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1415, allocations: 8 kB / 490.4 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004523/0.1461, allocations: 1.088 MB / 491.5 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.1466, allocations: 123.8 kB / 491.7 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009683/0.1563, allocations: 5.234 MB / 496.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/0.157, allocations: 79.39 kB / 497 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.1572, allocations: 24 kB / 497 MB, free: 2.328 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003291/0.1575, allocations: 185.8 kB / 497.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.1577, allocations: 43.72 kB / 497.2 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/0.1622, allocations: 1.628 MB / 498.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.1622, allocations: 8 kB / 498.8 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.1622, allocations: 4 kB / 498.9 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.1622, allocations: 7.984 kB / 498.9 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007907/0.163, allocations: 0.6698 MB / 499.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.1631, allocations: 0 / 499.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.1633, allocations: 63.91 kB / 499.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004483/0.1678, allocations: 1.03 MB / 0.4889 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/0.1679, allocations: 12 kB / 0.4889 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009494/0.1774, allocations: 5.21 MB / 0.494 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1774, allocations: 0 / 0.494 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004519/0.1819, allocations: 1.624 MB / 0.4956 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.1822, allocations: 128.7 kB / 0.4957 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.825e-05/0.1823, allocations: 19.94 kB / 0.4957 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.1827, allocations: 19.98 kB / 0.4957 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.1829, allocations: 52.5 kB / 0.4958 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.1829, allocations: 23.92 kB / 0.4958 GB, free: 7.359 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002606/0.1832, allocations: 223.2 kB / 0.496 GB, free: 7.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1832, allocations: 0 / 0.496 GB, free: 7.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001014/0.1842, allocations: 236 kB / 0.4962 GB, free: 6.91 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 (39): * Single equations (assignments): 38 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000308/0.1846, allocations: 127.2 kB / 0.4964 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003407/0.188, allocations: 1.337 MB / 0.4977 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.188, allocations: 4 kB / 0.4977 GB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001993/0.19, allocations: 0.8156 MB / 0.4985 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.1905, allocations: 45.36 kB / 0.4985 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.1926, allocations: 0.9385 MB / 0.4994 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.1931, allocations: 0.8332 MB / 0.5002 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.1933, allocations: 63.19 kB / 0.5003 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.1934, allocations: 43.42 kB / 0.5003 GB, free: 2.633 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1935, allocations: 0 / 0.5003 GB, free: 2.633 MB / 382.1 MB Notification: Performance of Templates: time 0.2146/0.4081, allocations: 13.4 MB / 0.5134 GB, free: 43.4 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)