Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 105 kB / 16.45 MB, free: 6.391 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.001127/0.001127, allocations: 189 kB / 17.39 MB, free: 5.648 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05246/0.05246, allocations: 8.106 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 59.91 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1076, allocations: 51.52 MB / 466 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002773/0.1104, allocations: 1.784 MB / 467.8 MB, free: 388 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1125, allocations: 1.578 MB / 469.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1126, allocations: 4 kB / 469.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.113, allocations: 139.2 kB / 469.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.1134, allocations: 155 kB / 469.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.1153, allocations: 1.046 MB / 470.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.1157, allocations: 290.6 kB / 471 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.116, allocations: 80.69 kB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1161, allocations: 115.6 kB / 471.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.1163, allocations: 139.4 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.1164, allocations: 27.94 kB / 471.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.1169, allocations: 239.8 kB / 471.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.1169, allocations: 51.83 kB / 471.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.117, allocations: 139.3 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005874/0.1176, allocations: 454.7 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1177, allocations: 3.938 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1177, allocations: 0 / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1177, allocations: 0 / 472.2 MB, free: 11.93 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00403/0.1217, allocations: 1.107 MB / 473.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1218, allocations: 8.031 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.661e-05/0.1219, allocations: 32.56 kB / 473.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1222, allocations: 267.6 kB / 473.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1222, allocations: 20.75 kB / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.1222, allocations: 24.38 kB / 473.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.1228, allocations: 351.7 kB / 474 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1229, allocations: 192 / 474 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.1229, allocations: 15.94 kB / 474 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1229, allocations: 4 kB / 474 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.1234, allocations: 299.2 kB / 474.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.1254, allocations: 1.35 MB / 475.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008547/0.1262, allocations: 381.4 kB / 476 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.1265, allocations: 177.3 kB / 476.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000747/0.1272, allocations: 0.6932 MB / 476.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1273, allocations: 34.8 kB / 476.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.1273, allocations: 0 / 476.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.003511/0.1308, allocations: 1.136 MB / 478.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1309, allocations: 110.8 kB / 478.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.1312, allocations: 232.9 kB / 478.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.1312, allocations: 33.7 kB / 478.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1314, allocations: 148.6 kB / 478.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.1314, allocations: 98.58 kB / 478.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.1316, allocations: 86.11 kB / 478.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1318, allocations: 330.8 kB / 479.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.1321, allocations: 196.8 kB / 479.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.1324, allocations: 259.2 kB / 479.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/0.1331, allocations: 476.9 kB / 480 MB, free: 3.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.1331, allocations: 3.938 kB / 480 MB, free: 3.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002069/0.1352, allocations: 0.8183 MB / 480.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1353, allocations: 4 kB / 480.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1353, allocations: 4 kB / 480.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/0.1372, allocations: 417.2 kB / 481.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.1375, allocations: 71.89 kB / 481.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005062/0.1426, allocations: 4.023 MB / 485.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.1429, allocations: 43.58 kB / 485.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.143, allocations: 16 kB / 485.4 MB, free: 13.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.1432, allocations: 157.8 kB / 485.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.1433, allocations: 19.72 kB / 485.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.1453, allocations: 0.7446 MB / 486.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1453, allocations: 0 / 486.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1453, allocations: 4 kB / 486.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1453, allocations: 7.938 kB / 486.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.1458, allocations: 421.2 kB / 486.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1458, allocations: 3.938 kB / 486.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.146, allocations: 35.98 kB / 486.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/0.1479, allocations: 417.2 kB / 487.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.1479, allocations: 4 kB / 487.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004874/0.1528, allocations: 4.004 MB / 491.2 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.1528, allocations: 12.03 kB / 491.2 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.1547, allocations: 0.7626 MB / 491.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/0.1548, allocations: 104.7 kB / 492 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.1549, allocations: 4 kB / 492.1 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.1551, allocations: 23.98 kB / 492.1 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.1552, allocations: 19.97 kB / 492.1 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.1552, allocations: 12 kB / 492.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.1554, allocations: 160.5 kB / 492.3 MB, free: 6.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1554, allocations: 0 / 492.3 MB, free: 6.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005988/0.156, allocations: 123.9 kB / 492.4 MB, free: 6.551 MB / 366.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002334/0.1562, allocations: 119.2 kB / 492.5 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.1579, allocations: 0.7631 MB / 493.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1579, allocations: 0 / 493.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.159, allocations: 0.5136 MB / 493.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1593, allocations: 32.36 kB / 493.8 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.1604, allocations: 0.5406 MB / 494.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1608, allocations: 0.7532 MB / 495.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.1609, allocations: 46.23 kB / 495.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.161, allocations: 23.44 kB / 495.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.161, allocations: 0 / 495.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of Templates: time 0.01092/0.1719, allocations: 6.449 MB / 0.4899 GB, free: 13.23 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)