Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",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.001069/0.001069, allocations: 100.8 kB / 16.31 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.001097/0.001097, allocations: 190.7 kB / 17.24 MB, free: 5.922 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.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05284/0.05284, allocations: 8.098 MB / 299.2 MB, free: 6.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 63.91 kB / 361.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2481, allocations: 51.5 MB / 413.3 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.003023/0.2511, allocations: 2.688 MB / 416 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2528, allocations: 1.637 MB / 417.7 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.2529, allocations: 8 kB / 417.7 MB, free: 21.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.2532, allocations: 163 kB / 417.8 MB, free: 21.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.2537, allocations: 222.5 kB / 418.1 MB, free: 20.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.2553, allocations: 1.224 MB / 419.3 MB, free: 19.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.2556, allocations: 453.8 kB / 419.7 MB, free: 19.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.2558, allocations: 172.2 kB / 419.9 MB, free: 19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.2559, allocations: 183.3 kB / 420.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.2562, allocations: 239 kB / 420.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.2562, allocations: 36 kB / 420.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.2566, allocations: 279.8 kB / 420.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.2567, allocations: 91.61 kB / 420.7 MB, free: 18.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.2568, allocations: 222.9 kB / 420.9 MB, free: 17.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00048/0.2573, allocations: 0.6309 MB / 421.5 MB, free: 17.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2573, allocations: 0 / 421.5 MB, free: 17.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2573, allocations: 0 / 421.5 MB, free: 17.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2573, allocations: 0 / 421.5 MB, free: 17.33 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.004669/0.262, allocations: 1.404 MB / 423 MB, free: 15.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.262, allocations: 15.89 kB / 423 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.008e-05/0.2621, allocations: 74.72 kB / 423 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.269e-05/0.2622, allocations: 44.47 kB / 423.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.2625, allocations: 335.4 kB / 423.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.2626, allocations: 29.03 kB / 423.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/0.2626, allocations: 36.38 kB / 423.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000638/0.2633, allocations: 0.5101 MB / 424 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2633, allocations: 7.938 kB / 424 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.2633, allocations: 19.94 kB / 424 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2634, allocations: 8 kB / 424 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.2639, allocations: 446.4 kB / 424.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.266, allocations: 2.115 MB / 426.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007514/0.2668, allocations: 0.5815 MB / 427.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.2671, allocations: 268.8 kB / 427.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.731e-05/0.2671, allocations: 15.98 kB / 427.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.2672, allocations: 46.5 kB / 427.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.2672, allocations: 0 / 427.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006141/0.2733, allocations: 1.822 MB / 429.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.2734, allocations: 110.8 kB / 429.4 MB, free: 9.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.2736, allocations: 274.9 kB / 429.7 MB, free: 8.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.2737, allocations: 45.64 kB / 429.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.2738, allocations: 180.6 kB / 429.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.2739, allocations: 141.9 kB / 430 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.274, allocations: 110.2 kB / 430.1 MB, free: 8.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.2741, allocations: 334.8 kB / 430.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.2745, allocations: 293 kB / 430.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.2748, allocations: 336.6 kB / 431.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.2756, allocations: 0.6334 MB / 431.7 MB, free: 6.676 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2756, allocations: 0 / 431.7 MB, free: 6.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002992/0.2786, allocations: 1.24 MB / 433 MB, free: 5.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.2786, allocations: 10.5 kB / 433 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.2787, allocations: 0 / 433 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.2819, allocations: 0.7734 MB / 433.7 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.2823, allocations: 91.83 kB / 433.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006197/0.2885, allocations: 4.066 MB / 437.9 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.289, allocations: 51.47 kB / 437.9 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.2891, allocations: 19.98 kB / 438 MB, free: 292 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.0002101/0.2893, allocations: 174.5 kB / 438.1 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.991e-05/0.2894, allocations: 31.62 kB / 438.2 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/0.2928, allocations: 1.199 MB / 439.4 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.2929, allocations: 8 kB / 439.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2929, allocations: 0 / 439.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2929, allocations: 3.984 kB / 439.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004119/0.297, allocations: 1.79 MB / 441.2 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.297, allocations: 3.938 kB / 441.2 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.2973, allocations: 59.92 kB / 441.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003387/0.3007, allocations: 0.7538 MB / 442 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.3007, allocations: 8 kB / 442 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0071/0.3078, allocations: 4.019 MB / 446 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3079, allocations: 4 kB / 446 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/0.3112, allocations: 1.21 MB / 447.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.3114, allocations: 116.6 kB / 447.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.3114, allocations: 11.94 kB / 447.3 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.3118, allocations: 23.98 kB / 447.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.312, allocations: 44.38 kB / 447.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.312, allocations: 16 kB / 447.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.3122, allocations: 186 kB / 447.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3122, allocations: 0 / 447.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006757/0.3129, allocations: 187.8 kB / 447.8 MB, free: 6.184 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.00363/0.3166, allocations: 1.779 MB / 449.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002714/0.3193, allocations: 1.039 MB / 450.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.3193, allocations: 0 / 450.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.3211, allocations: 0.6726 MB / 451.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.3216, allocations: 40.88 kB / 451.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.3319, allocations: 5.161 MB / 456.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.3323, allocations: 0.8167 MB / 457.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.3325, allocations: 54.92 kB / 457.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.3328, allocations: 143.3 kB / 457.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3328, allocations: 0 / 457.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04113/0.3739, allocations: 14.8 MB / 472.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.32, allocations: 10.69 kB / 472.3 MB, free: 13.7 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)