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-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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",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.001091/0.00109, allocations: 103.2 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.001118/0.001118, 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.446/1.446, allocations: 222.9 MB / 240.9 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05387/0.05387, allocations: 8.094 MB / 299.2 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 361.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.241, allocations: 51.51 MB / 413.4 MB, free: 25.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002691/0.2437, allocations: 1.777 MB / 415.1 MB, free: 23.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.2454, allocations: 1.578 MB / 416.7 MB, free: 22.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.2455, allocations: 4 kB / 416.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.2458, allocations: 135.2 kB / 416.8 MB, free: 22.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.2461, allocations: 151.1 kB / 417 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.2476, allocations: 1.058 MB / 418 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.2479, allocations: 274.7 kB / 418.3 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.2481, allocations: 80.66 kB / 418.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.2482, allocations: 119.6 kB / 418.5 MB, free: 20.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.2483, allocations: 139.4 kB / 418.6 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.2484, allocations: 20 kB / 418.7 MB, free: 20.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.2487, allocations: 243.8 kB / 418.9 MB, free: 19.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.2488, allocations: 59.77 kB / 419 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.107e-05/0.2489, allocations: 135.3 kB / 419.1 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.2492, allocations: 448.9 kB / 419.5 MB, free: 19.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2493, allocations: 4 kB / 419.5 MB, free: 19.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2493, allocations: 4 kB / 419.5 MB, free: 19.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.2493, allocations: 0 / 419.5 MB, free: 19.3 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003673/0.253, allocations: 1.1 MB / 420.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.253, allocations: 11.89 kB / 420.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.2531, allocations: 54.73 kB / 420.7 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.2531, allocations: 36.56 kB / 420.7 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.2534, allocations: 271.6 kB / 421 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2534, allocations: 20.75 kB / 421 MB, free: 17.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.2535, allocations: 24.38 kB / 421.1 MB, free: 17.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.254, allocations: 347.7 kB / 421.4 MB, free: 17.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.254, allocations: 3.938 kB / 421.4 MB, free: 17.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.254, allocations: 8 kB / 421.4 MB, free: 17.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.254, allocations: 4 kB / 421.4 MB, free: 17.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.2544, allocations: 307.2 kB / 421.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.256, allocations: 1.339 MB / 423 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.2567, allocations: 384.8 kB / 423.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.2569, allocations: 176.8 kB / 423.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006105/0.2575, allocations: 0.7049 MB / 424.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.2576, allocations: 34.8 kB / 424.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.2576, allocations: 4 kB / 424.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.003295/0.2609, allocations: 1.129 MB / 425.5 MB, free: 13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.2609, allocations: 106.8 kB / 425.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.2611, allocations: 228.9 kB / 425.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.2611, allocations: 33.7 kB / 425.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.2612, allocations: 148.5 kB / 426 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.2613, allocations: 94.64 kB / 426.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.2614, allocations: 86.11 kB / 426.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.2614, allocations: 338.8 kB / 426.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.2617, allocations: 196.7 kB / 426.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.262, allocations: 267.2 kB / 426.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.2625, allocations: 480.7 kB / 427.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2625, allocations: 0 / 427.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001867/0.2644, allocations: 0.8183 MB / 428.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2644, allocations: 8 kB / 428.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2644, allocations: 0 / 428.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001971/0.2664, allocations: 413.3 kB / 428.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.2667, allocations: 75.84 kB / 428.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003836/0.2705, allocations: 4.023 MB / 432.7 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.2709, allocations: 47.19 kB / 432.8 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.2709, allocations: 19.98 kB / 432.8 MB, free: 5.258 MB / 302.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.0001394/0.2711, allocations: 153.7 kB / 432.9 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.2711, allocations: 23.72 kB / 433 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.273, allocations: 0.7359 MB / 433.7 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.273, allocations: 4 kB / 433.7 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.273, allocations: 8 kB / 433.7 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.273, allocations: 0 / 433.7 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.2733, allocations: 413.1 kB / 434.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2733, allocations: 0 / 434.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.2735, allocations: 43.92 kB / 434.2 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001829/0.2753, allocations: 409.2 kB / 434.6 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.2754, allocations: 8 kB / 434.6 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004329/0.2797, allocations: 4.012 MB / 438.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2797, allocations: 0 / 438.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.2816, allocations: 0.7666 MB / 439.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.2818, allocations: 112.7 kB / 439.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.2818, allocations: 12 kB / 439.5 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.2821, allocations: 19.92 kB / 439.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.2822, allocations: 24.05 kB / 439.5 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.2822, allocations: 15.94 kB / 439.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.2824, allocations: 160.5 kB / 439.7 MB, free: 13.97 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2824, allocations: 0 / 439.7 MB, free: 13.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006555/0.2831, allocations: 119.8 kB / 439.8 MB, free: 13.86 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 (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.002326/0.2854, allocations: 1.346 MB / 441.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.2871, allocations: 0.7637 MB / 441.9 MB, free: 11.69 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2871, allocations: 0 / 441.9 MB, free: 11.69 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.2882, allocations: 0.5171 MB / 442.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.2886, allocations: 30.94 kB / 442.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006514/0.2951, allocations: 3.727 MB / 446.2 MB, free: 7.266 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2954, allocations: 0.761 MB / 446.9 MB, free: 6.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.2956, allocations: 34.27 kB / 447 MB, free: 6.445 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.2957, allocations: 83.41 kB / 447.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2957, allocations: 0 / 447.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.327, allocations: 8.979 MB / 456 MB, free: 13.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.114/9.442, allocations: 7.719 kB / 456.1 MB, free: 13.49 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo_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_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)