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.0009851/0.0009845, allocations: 101.3 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 175.8 kB / 16.61 MB, free: 6.422 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.393/1.393, allocations: 223.2 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1832/0.1832, allocations: 8.084 MB / 299.7 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004182, allocations: 12 kB / 362.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1207, allocations: 52.5 MB / 415.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.001688/0.1224, allocations: 1.266 MB / 416.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1243, allocations: 1.486 MB / 418 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-05/0.1244, allocations: 4 kB / 418 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1247, allocations: 103.5 kB / 418.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.125, allocations: 143.5 kB / 418.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.1264, allocations: 0.8681 MB / 419.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.1268, allocations: 195.5 kB / 419.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.127, allocations: 72.47 kB / 419.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.678e-05/0.1271, allocations: 99.62 kB / 419.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.1272, allocations: 127.4 kB / 419.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.1273, allocations: 12 kB / 419.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.1276, allocations: 195.8 kB / 419.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.1277, allocations: 43.83 kB / 419.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.1278, allocations: 73.58 kB / 419.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.1281, allocations: 315.5 kB / 420.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1281, allocations: 0 / 420.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1281, allocations: 0 / 420.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1281, allocations: 0 / 420.2 MB, free: 3.742 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.003701/0.1318, allocations: 1.064 MB / 421.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1319, allocations: 8.031 kB / 421.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.114e-05/0.132, allocations: 39.58 kB / 421.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.1323, allocations: 258.6 kB / 421.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.1323, allocations: 20.38 kB / 421.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.1324, allocations: 24 kB / 421.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.1329, allocations: 343.2 kB / 422 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1329, allocations: 0 / 422 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.133, allocations: 15.94 kB / 422 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.133, allocations: 7.953 kB / 422 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.1334, allocations: 299.1 kB / 422.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.1353, allocations: 1.37 MB / 423.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2493/0.3846, allocations: 367 kB / 424 MB, free: 41.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-05/0.3847, allocations: 14.56 kB / 424 MB, free: 41.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3847, allocations: 36.16 kB / 424.1 MB, free: 41.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 3.005e-06/0.3847, allocations: 0 / 424.1 MB, free: 41.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003632/0.3884, allocations: 1.134 MB / 425.2 MB, free: 41.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.3885, allocations: 108.3 kB / 425.3 MB, free: 40.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.3887, allocations: 225.2 kB / 425.5 MB, free: 40.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.3887, allocations: 35.7 kB / 425.6 MB, free: 40.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.434e-05/0.3888, allocations: 137.3 kB / 425.7 MB, free: 40.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.3889, allocations: 98.09 kB / 425.8 MB, free: 40.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.389, allocations: 11.84 kB / 425.8 MB, free: 40.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.389, allocations: 333 kB / 426.1 MB, free: 40.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.3893, allocations: 193.2 kB / 426.3 MB, free: 40.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.3896, allocations: 260.3 kB / 426.6 MB, free: 40.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.3899, allocations: 220.5 kB / 426.8 MB, free: 40.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3899, allocations: 0 / 426.8 MB, free: 40.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001885/0.3918, allocations: 0.812 MB / 427.6 MB, free: 40.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.3918, allocations: 9.328 kB / 427.6 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3918, allocations: 0 / 427.6 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/0.3937, allocations: 419.4 kB / 428 MB, free: 40.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.394, allocations: 78.72 kB / 428.1 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/0.3983, allocations: 3.784 MB / 431.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.3986, allocations: 41.77 kB / 431.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.3987, allocations: 16.09 kB / 431.9 MB, free: 37.59 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.3989, allocations: 155.2 kB / 432.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.3989, allocations: 24.28 kB / 432.1 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.4008, allocations: 0.7544 MB / 432.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4008, allocations: 5.938 kB / 432.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4008, allocations: 0 / 432.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4008, allocations: 10.09 kB / 432.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.4012, allocations: 410.9 kB / 433.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4013, allocations: 0 / 433.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.4014, allocations: 43.78 kB / 433.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/0.4033, allocations: 416.4 kB / 433.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.4033, allocations: 7.031 kB / 433.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/0.4071, allocations: 3.779 MB / 437.5 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.4071, allocations: 9.016 kB / 437.5 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.4088, allocations: 0.6995 MB / 438.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.4089, allocations: 107.5 kB / 438.3 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.409, allocations: 7.219 kB / 438.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.4092, allocations: 23.47 kB / 438.4 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.4093, allocations: 20.64 kB / 438.4 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.4093, allocations: 13.94 kB / 438.4 MB, free: 33.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.4095, allocations: 154 kB / 438.6 MB, free: 33.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4095, allocations: 0 / 438.6 MB, free: 33.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005944/0.4101, allocations: 124.8 kB / 438.7 MB, free: 33.49 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002717/0.4104, allocations: 122.4 kB / 438.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.4119, allocations: 0.7594 MB / 439.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4119, allocations: 0 / 439.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008866/0.4128, allocations: 0.5136 MB / 440.1 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.413, allocations: 19.64 kB / 440.1 MB, free: 32.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009659/0.414, allocations: 0.6338 MB / 440.7 MB, free: 32.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.4142, allocations: 0.7622 MB / 441.5 MB, free: 31.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.4143, allocations: 40.78 kB / 441.5 MB, free: 31.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.4144, allocations: 31.91 kB / 441.6 MB, free: 31.48 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.4144, allocations: 0 / 441.6 MB, free: 31.48 MB / 350.1 MB Notification: Performance of Templates: time 0.008621/0.423, allocations: 5.818 MB / 447.4 MB, free: 31.11 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: