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.001306/0.001306, allocations: 103.5 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.001368/0.001368, allocations: 192.1 kB / 17.39 MB, free: 5.668 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.376/1.376, 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.05667/0.05667, allocations: 8.11 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.89 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1154, allocations: 51.51 MB / 466 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.003296/0.1187, allocations: 1.777 MB / 467.8 MB, free: 408 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1211, allocations: 1.582 MB / 469.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1212, allocations: 4 kB / 469.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.1217, allocations: 139.3 kB / 469.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.1221, allocations: 159 kB / 469.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.1238, allocations: 1.058 MB / 470.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.1242, allocations: 282.6 kB / 471 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1244, allocations: 84.67 kB / 471.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1245, allocations: 115.6 kB / 471.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1247, allocations: 143.3 kB / 471.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.1248, allocations: 20 kB / 471.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.1252, allocations: 243.8 kB / 471.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.628e-05/0.1253, allocations: 55.77 kB / 471.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1254, allocations: 131.3 kB / 471.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005641/0.126, allocations: 462.6 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.126, allocations: 4 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.126, allocations: 0 / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.126, allocations: 4 kB / 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.00375/0.1298, allocations: 1.092 MB / 473.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1298, allocations: 16.02 kB / 473.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.1299, allocations: 36.55 kB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1302, allocations: 271.6 kB / 473.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1303, allocations: 20.75 kB / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.1303, allocations: 28.31 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.1308, allocations: 347.7 kB / 474 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1309, allocations: 192 / 474 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.1309, allocations: 7.938 kB / 474 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1309, allocations: 4 kB / 474 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.1314, allocations: 299.2 kB / 474.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.1332, allocations: 1.343 MB / 475.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.134, allocations: 382.6 kB / 476 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.1343, allocations: 173.3 kB / 476.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007777/0.1351, allocations: 0.6971 MB / 476.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1351, allocations: 38.8 kB / 476.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.1351, allocations: 0 / 476.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.003372/0.1385, allocations: 1.136 MB / 478.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.1386, allocations: 114.8 kB / 478.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.1388, allocations: 228.9 kB / 478.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.1389, allocations: 29.7 kB / 478.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.139, allocations: 148.6 kB / 478.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.363e-05/0.1391, allocations: 102.6 kB / 478.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.1392, allocations: 82.11 kB / 478.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1393, allocations: 334.8 kB / 479.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.1396, allocations: 188.8 kB / 479.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.14, allocations: 275.1 kB / 479.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.1406, allocations: 477 kB / 480 MB, free: 3.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1406, allocations: 7.875 kB / 480 MB, free: 3.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00207/0.1427, allocations: 0.8027 MB / 480.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1427, allocations: 11.98 kB / 480.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1428, allocations: 4 kB / 480.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/0.1447, allocations: 409.3 kB / 481.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.145, allocations: 75.89 kB / 481.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004676/0.1497, allocations: 4.023 MB / 485.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.15, allocations: 47.61 kB / 485.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.15, allocations: 20.09 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.0001711/0.1502, allocations: 157.6 kB / 485.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.1503, allocations: 23.72 kB / 485.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.1522, allocations: 0.7329 MB / 486.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1522, allocations: 4 kB / 486.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1522, allocations: 4 kB / 486.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1522, allocations: 3.984 kB / 486.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.1527, allocations: 409.1 kB / 486.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.1527, allocations: 3.938 kB / 486.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.1529, allocations: 47.91 kB / 486.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.1548, allocations: 409.2 kB / 487.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.1548, allocations: 12 kB / 487.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004614/0.1594, allocations: 4 MB / 491.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1595, allocations: 3.984 kB / 491.2 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.1613, allocations: 0.7666 MB / 491.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.1614, allocations: 108.7 kB / 492.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.1614, allocations: 11.98 kB / 492.1 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.1617, allocations: 12 kB / 492.1 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.1618, allocations: 23.97 kB / 492.1 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.1618, allocations: 7.984 kB / 492.1 MB, free: 6.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.1619, allocations: 160.5 kB / 492.3 MB, free: 6.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1619, allocations: 3.938 kB / 492.3 MB, free: 6.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005138/0.1625, allocations: 127.9 kB / 492.4 MB, free: 6.562 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.0002142/0.1627, allocations: 119.3 kB / 492.5 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.1643, allocations: 0.7555 MB / 493.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.1643, allocations: 4.062 kB / 493.3 MB, free: 5.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.1653, allocations: 0.5212 MB / 493.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1656, allocations: 26.95 kB / 493.8 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009913/0.1666, allocations: 0.5442 MB / 494.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.167, allocations: 0.761 MB / 495.1 MB, free: 3.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1671, allocations: 30.27 kB / 495.1 MB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.1672, allocations: 35.42 kB / 495.2 MB, free: 3.66 MB / 366.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1672, allocations: 0 / 495.2 MB, free: 3.66 MB / 366.1 MB Notification: Performance of Templates: time 0.01035/0.1775, allocations: 6.445 MB / 0.4899 GB, free: 13.24 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)