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.001162/0.001162, allocations: 107.2 kB / 16.45 MB, free: 6.445 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.001043/0.001043, allocations: 193.4 kB / 17.39 MB, free: 5.688 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.486/1.486, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05974/0.05974, allocations: 8.094 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001836, allocations: 63.89 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1203, allocations: 51.52 MB / 466 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.004205/0.1245, allocations: 2.784 MB / 468.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.1271, allocations: 1.761 MB / 470.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1273, allocations: 8 kB / 470.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004649/0.1278, allocations: 186.9 kB / 470.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000542/0.1283, allocations: 258.3 kB / 471 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.1303, allocations: 1.12 MB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005941/0.1309, allocations: 0.5093 MB / 472.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.1312, allocations: 164.3 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.1314, allocations: 207.2 kB / 473 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.1317, allocations: 270.8 kB / 473.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.1317, allocations: 40 kB / 473.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.1322, allocations: 255.8 kB / 473.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.575e-05/0.1323, allocations: 107.5 kB / 473.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.1325, allocations: 250.7 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007641/0.1333, allocations: 0.666 MB / 474.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1333, allocations: 0 / 474.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1333, allocations: 0 / 474.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1333, allocations: 4 kB / 474.6 MB, free: 9.559 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.006155/0.1395, allocations: 1.658 MB / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1395, allocations: 12.03 kB / 476.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.1397, allocations: 56.38 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.1402, allocations: 368 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.1402, allocations: 33.38 kB / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.899e-05/0.1403, allocations: 44.38 kB / 476.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009078/0.1412, allocations: 0.5972 MB / 477.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1412, allocations: 3.938 kB / 477.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.1413, allocations: 12 kB / 477.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1413, allocations: 8 kB / 477.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008402/0.1421, allocations: 0.5544 MB / 477.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.1452, allocations: 2.216 MB / 480.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.1464, allocations: 0.8809 MB / 481 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/0.147, allocations: 398.5 kB / 481.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/0.1485, allocations: 1.338 MB / 482.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1485, allocations: 46.94 kB / 482.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.613e-06/0.1485, allocations: 0 / 482.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.009591/0.1581, allocations: 2.65 MB / 485.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.1582, allocations: 115.2 kB / 485.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.1586, allocations: 341.4 kB / 485.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.1587, allocations: 37.7 kB / 485.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.1588, allocations: 197.2 kB / 486.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.159, allocations: 193.2 kB / 486.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.1592, allocations: 138.6 kB / 486.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1593, allocations: 354.8 kB / 486.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/0.1599, allocations: 401.9 kB / 487.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/0.1606, allocations: 0.5089 MB / 487.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.1619, allocations: 0.9492 MB / 488.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1619, allocations: 0 / 488.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004725/0.1666, allocations: 1.789 MB / 490.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1667, allocations: 7.984 kB / 490.4 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.1667, allocations: 4 kB / 490.4 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004624/0.1713, allocations: 1.094 MB / 491.5 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.1718, allocations: 119.8 kB / 491.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009087/0.1809, allocations: 5.226 MB / 496.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/0.1816, allocations: 79.11 kB / 496.9 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/0.1816, allocations: 28 kB / 496.9 MB, free: 2.383 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.0002978/0.1819, allocations: 177.8 kB / 497.1 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.927e-05/0.182, allocations: 39.53 kB / 497.2 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004509/0.1865, allocations: 1.628 MB / 498.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.1866, allocations: 8 kB / 498.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1866, allocations: 4 kB / 498.8 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.1866, allocations: 3.984 kB / 498.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007497/0.1874, allocations: 0.6736 MB / 499.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1874, allocations: 0 / 499.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.1876, allocations: 67.91 kB / 499.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004482/0.1921, allocations: 1.025 MB / 0.4888 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.1922, allocations: 12 kB / 0.4888 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008912/0.2011, allocations: 5.203 MB / 0.4939 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2011, allocations: 0 / 0.4939 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004293/0.2054, allocations: 1.624 MB / 0.4955 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.2056, allocations: 124.4 kB / 0.4956 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.576e-05/0.2057, allocations: 23.98 kB / 0.4957 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.2061, allocations: 23.44 kB / 0.4957 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.2063, allocations: 44.48 kB / 0.4957 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.2064, allocations: 19.94 kB / 0.4957 GB, free: 7.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.2066, allocations: 223.2 kB / 0.4959 GB, free: 7.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2066, allocations: 0 / 0.4959 GB, free: 7.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008863/0.2075, allocations: 239.8 kB / 0.4962 GB, free: 6.992 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.0002683/0.2078, allocations: 131.2 kB / 0.4963 GB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002986/0.2108, allocations: 1.341 MB / 0.4976 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2108, allocations: 0 / 0.4976 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.2127, allocations: 0.819 MB / 0.4984 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.2131, allocations: 45.38 kB / 0.4985 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.2148, allocations: 0.9146 MB / 0.4993 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.2153, allocations: 0.8332 MB / 0.5002 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.2154, allocations: 59.25 kB / 0.5002 GB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/0.2155, allocations: 39.42 kB / 0.5003 GB, free: 2.734 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2155, allocations: 0 / 0.5003 GB, free: 2.734 MB / 382.1 MB Notification: Performance of Templates: time 0.2579/0.4735, allocations: 13.42 MB / 0.5134 GB, free: 43.62 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)