Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 103.8 kB / 16.31 MB, free: 5.879 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.001785/0.001785, allocations: 190.8 kB / 17.24 MB, free: 5.539 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04631/0.04631, allocations: 8.099 MB / 299.2 MB, free: 6.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001216, allocations: 63.89 kB / 361.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1834, allocations: 51.51 MB / 413.4 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.00286/0.1863, allocations: 2.685 MB / 416 MB, free: 22.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1879, allocations: 1.629 MB / 417.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.188, allocations: 4 kB / 417.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.1884, allocations: 175 kB / 417.8 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003947/0.1888, allocations: 218.5 kB / 418.1 MB, free: 20.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.1904, allocations: 1.233 MB / 419.3 MB, free: 19.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.1908, allocations: 453.9 kB / 419.7 MB, free: 19.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.191, allocations: 168.2 kB / 419.9 MB, free: 19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1911, allocations: 187.3 kB / 420.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.1913, allocations: 231 kB / 420.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.1914, allocations: 36 kB / 420.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.1918, allocations: 279.7 kB / 420.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.1918, allocations: 99.59 kB / 420.7 MB, free: 18.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.192, allocations: 218.9 kB / 420.9 MB, free: 17.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.1925, allocations: 0.6271 MB / 421.5 MB, free: 17.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1925, allocations: 0 / 421.5 MB, free: 17.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1925, allocations: 0 / 421.5 MB, free: 17.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1925, allocations: 4 kB / 421.6 MB, free: 17.34 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004657/0.1971, allocations: 1.404 MB / 423 MB, free: 15.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1972, allocations: 11.89 kB / 423 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.1973, allocations: 74.72 kB / 423 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.199e-05/0.1974, allocations: 48.47 kB / 423.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1977, allocations: 339.4 kB / 423.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1977, allocations: 29.03 kB / 423.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.516e-05/0.1978, allocations: 40.38 kB / 423.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006114/0.1984, allocations: 0.5062 MB / 424 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1984, allocations: 3.938 kB / 424 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.1985, allocations: 16 kB / 424 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1985, allocations: 8 kB / 424 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000524/0.199, allocations: 454.4 kB / 424.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.2011, allocations: 2.103 MB / 426.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.2018, allocations: 0.5738 MB / 427.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.2022, allocations: 276.8 kB / 427.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.341e-05/0.2022, allocations: 11.97 kB / 427.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.2022, allocations: 50.44 kB / 427.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.673e-06/0.2023, allocations: 0 / 427.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006772/0.209, allocations: 1.939 MB / 429.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.2091, allocations: 106.8 kB / 429.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.2093, allocations: 274.9 kB / 429.8 MB, free: 8.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.2094, allocations: 37.7 kB / 429.8 MB, free: 8.613 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.2095, allocations: 188.6 kB / 430 MB, free: 8.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/0.2096, allocations: 145.8 kB / 430.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.2097, allocations: 106.2 kB / 430.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.2098, allocations: 342.8 kB / 430.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.2101, allocations: 281 kB / 430.9 MB, free: 7.555 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.2105, allocations: 340.6 kB / 431.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000736/0.2113, allocations: 0.6294 MB / 431.8 MB, free: 6.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2113, allocations: 0 / 431.8 MB, free: 6.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003011/0.2143, allocations: 1.248 MB / 433.1 MB, free: 5.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2143, allocations: 4 kB / 433.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2143, allocations: 0 / 433.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003281/0.2176, allocations: 0.7799 MB / 433.9 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.218, allocations: 91.88 kB / 433.9 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005945/0.2239, allocations: 4.014 MB / 438 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.2243, allocations: 51.52 kB / 438 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.2244, allocations: 16 kB / 438 MB, free: 244 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.2246, allocations: 173.6 kB / 438.2 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.2246, allocations: 39.62 kB / 438.2 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003446/0.2281, allocations: 1.171 MB / 439.4 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2281, allocations: 4 kB / 439.4 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2281, allocations: 4 kB / 439.4 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2281, allocations: 3.984 kB / 439.4 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/0.2319, allocations: 1.751 MB / 441.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.232, allocations: 3.938 kB / 441.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.2322, allocations: 63.97 kB / 441.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003457/0.2357, allocations: 0.7494 MB / 442 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/0.2357, allocations: 11.98 kB / 442 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006629/0.2424, allocations: 3.968 MB / 446 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2424, allocations: 4 kB / 446 MB, free: 8.066 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003246/0.2456, allocations: 1.187 MB / 447.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.2457, allocations: 120.4 kB / 447.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.2458, allocations: 12 kB / 447.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.2462, allocations: 29.86 kB / 447.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2463, allocations: 36.39 kB / 447.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.2463, allocations: 15.98 kB / 447.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.2465, allocations: 190 kB / 447.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2465, allocations: 0 / 447.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005911/0.2471, allocations: 187.8 kB / 447.7 MB, free: 6.266 MB / 318.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 (35): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003541/0.2507, allocations: 1.751 MB / 449.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002515/0.2532, allocations: 1.039 MB / 450.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2532, allocations: 0 / 450.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.255, allocations: 0.669 MB / 451.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.2554, allocations: 32.89 kB / 451.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009591/0.265, allocations: 5.156 MB / 456.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.2654, allocations: 0.8128 MB / 457.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000184/0.2655, allocations: 54.92 kB / 457.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.2657, allocations: 131.4 kB / 457.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2657, allocations: 0 / 457.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04866/0.3144, allocations: 14.78 MB / 472.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.29, allocations: 17.97 kB / 472.2 MB, free: 13.86 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)