Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",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.001055/0.001055, allocations: 107.1 kB / 16.44 MB, free: 6.363 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.001003/0.001003, allocations: 198.3 kB / 17.38 MB, free: 5.789 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.236/1.236, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0449/0.0449, allocations: 8.102 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 71.88 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08464/0.08585, allocations: 51.5 MB / 465.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002377/0.08826, allocations: 1.241 MB / 466.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.08982, allocations: 1.251 MB / 468 MB, free: 188 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-05/0.08993, allocations: 4 kB / 468 MB, free: 184 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.09023, allocations: 79.61 kB / 468.1 MB, free: 104 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.09043, allocations: 47.62 kB / 468.1 MB, free: 56 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.09117, allocations: 374.2 kB / 468.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.09135, allocations: 123.5 kB / 468.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.0915, allocations: 69.81 kB / 468.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.09158, allocations: 51.73 kB / 468.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.09172, allocations: 63.75 kB / 468.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.09175, allocations: 12 kB / 468.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.09199, allocations: 107.9 kB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/0.09203, allocations: 27.92 kB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.737e-05/0.09211, allocations: 67.66 kB / 469 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.09243, allocations: 207.6 kB / 469.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09244, allocations: 3.938 kB / 469.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.09245, allocations: 0 / 469.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.09246, allocations: 3.938 kB / 469.2 MB, free: 14.97 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008757/0.09334, allocations: 482.7 kB / 469.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.09339, allocations: 15.89 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.09344, allocations: 46.73 kB / 469.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.09349, allocations: 12.84 kB / 469.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.09366, allocations: 192.2 kB / 469.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.09369, allocations: 12.38 kB / 469.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.09371, allocations: 12.38 kB / 469.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.09394, allocations: 138.2 kB / 470.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.09395, allocations: 3.938 kB / 470.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.09397, allocations: 4 kB / 470.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.09398, allocations: 8 kB / 470.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.09413, allocations: 95.95 kB / 470.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.0948, allocations: 496.2 kB / 470.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.09508, allocations: 98.67 kB / 470.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.09514, allocations: 32.84 kB / 470.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.09526, allocations: 81.11 kB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.09529, allocations: 38.5 kB / 470.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.0953, allocations: 0 / 470.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005089/0.09581, allocations: 215.6 kB / 471.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.09586, allocations: 59.41 kB / 471.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.09602, allocations: 138.1 kB / 471.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.09604, allocations: 29.69 kB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.09612, allocations: 119.6 kB / 471.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.09615, allocations: 31.69 kB / 471.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.0962, allocations: 29.64 kB / 471.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.0963, allocations: 330.7 kB / 471.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.09636, allocations: 27.98 kB / 471.9 MB, free: 12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.36e-05/0.09641, allocations: 32 kB / 471.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.58e-05/0.09651, allocations: 64.98 kB / 472 MB, free: 11.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.09652, allocations: 0 / 472 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002424/0.09676, allocations: 138.4 kB / 472.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.09679, allocations: 6.344 kB / 472.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.0968, allocations: 4 kB / 472.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.09702, allocations: 32.83 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.0971, allocations: 23.92 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.09816, allocations: 1.418 MB / 473.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.315e-05/0.09825, allocations: 3.984 kB / 473.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.09827, allocations: 8.016 kB / 473.6 MB, free: 10.12 MB / 350.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 (9): * Single equations (assignments): 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.144e-05/0.09837, allocations: 121.8 kB / 473.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.09841, allocations: 7.953 kB / 473.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.09866, allocations: 126.9 kB / 473.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.09867, allocations: 0 / 473.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.09868, allocations: 0 / 473.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.09868, allocations: 3.984 kB / 473.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.0989, allocations: 221.5 kB / 474.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.09891, allocations: 0 / 474.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.09895, allocations: 8.281 kB / 474.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/0.09909, allocations: 32.83 kB / 474.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.09911, allocations: 8 kB / 474.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009576/0.1001, allocations: 1.418 MB / 475.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1001, allocations: 0 / 475.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1003, allocations: 208.2 kB / 475.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.1004, allocations: 89.05 kB / 475.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1004, allocations: 4 kB / 475.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1005, allocations: 8.094 kB / 475.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.1005, allocations: 7.984 kB / 475.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1006, allocations: 0 / 475.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.832e-05/0.1007, allocations: 115.2 kB / 476 MB, free: 7.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.293e-06/0.1007, allocations: 0 / 476 MB, free: 7.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.1009, allocations: 43.83 kB / 476 MB, free: 7.469 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 (6): * Single equations (assignments): 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000523/0.1015, allocations: 0.7522 MB / 476.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003422/0.1018, allocations: 182.7 kB / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1018, allocations: 4 kB / 476.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.102, allocations: 150.6 kB / 477.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.1023, allocations: 8.703 kB / 477.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.104, allocations: 1.621 MB / 478.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1043, allocations: 0.7041 MB / 479.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.1043, allocations: 12.66 kB / 479.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.1044, allocations: 31.44 kB / 479.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1044, allocations: 0 / 479.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.1232, allocations: 2.952 MB / 482.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.588/8.711, allocations: 10.59 kB / 482.4 MB, free: 0.9883 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses_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_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)