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.001204/0.001209, allocations: 110.9 kB / 16.45 MB, free: 6.445 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.001252/0.001252, allocations: 188.3 kB / 17.38 MB, free: 5.668 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.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05053/0.05053, allocations: 8.096 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 68.09 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08592/0.08767, allocations: 51.5 MB / 465.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002463/0.09017, allocations: 1.253 MB / 466.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.09183, allocations: 1.255 MB / 468 MB, free: 156 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.0919, allocations: 4 kB / 468 MB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.09217, allocations: 71.64 kB / 468.1 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.09236, allocations: 55.61 kB / 468.1 MB, free: 24 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007327/0.0931, allocations: 362.2 kB / 468.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.09328, allocations: 123.4 kB / 468.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.09343, allocations: 65.84 kB / 468.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.09351, allocations: 55.78 kB / 468.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.09367, allocations: 71.69 kB / 468.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.0937, allocations: 12 kB / 468.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.0939, allocations: 99.89 kB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.09394, allocations: 27.92 kB / 468.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.09402, allocations: 67.66 kB / 469 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.09434, allocations: 211.5 kB / 469.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.09435, allocations: 4 kB / 469.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09436, allocations: 0 / 469.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.09437, allocations: 0 / 469.2 MB, free: 14.95 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.0009903/0.09536, allocations: 486.6 kB / 469.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.09541, allocations: 11.89 kB / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.09546, allocations: 46.73 kB / 469.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.09551, allocations: 16.84 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.09571, allocations: 180.2 kB / 469.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.09574, allocations: 12.38 kB / 469.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.09576, allocations: 12.38 kB / 470 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.09602, allocations: 142.1 kB / 470.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.09604, allocations: 3.938 kB / 470.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.09606, allocations: 8 kB / 470.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.09607, allocations: 4 kB / 470.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.09625, allocations: 95.95 kB / 470.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.09698, allocations: 0.4923 MB / 470.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.09728, allocations: 98.67 kB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/0.09734, allocations: 24.86 kB / 470.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.09748, allocations: 85.09 kB / 470.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.09751, allocations: 34.56 kB / 470.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.09752, allocations: 4 kB / 470.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005553/0.09808, allocations: 219.5 kB / 471.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.09813, allocations: 51.41 kB / 471.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.09829, allocations: 142 kB / 471.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.09832, allocations: 25.7 kB / 471.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.09841, allocations: 127.8 kB / 471.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.09844, allocations: 39.67 kB / 471.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.0985, allocations: 29.7 kB / 471.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.09864, allocations: 314.8 kB / 471.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/0.0987, allocations: 31.98 kB / 471.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.855e-05/0.09876, allocations: 31.92 kB / 471.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.966e-05/0.09887, allocations: 60.84 kB / 472 MB, free: 11.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.09888, allocations: 4 kB / 472 MB, free: 11.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002663/0.09915, allocations: 134.4 kB / 472.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.09917, allocations: 14.5 kB / 472.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.09918, allocations: 0 / 472.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.09941, allocations: 32.83 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.09948, allocations: 8 kB / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.1008, allocations: 1.426 MB / 473.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.1008, allocations: 4.031 kB / 473.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1009, allocations: 4.156 kB / 473.6 MB, free: 10.11 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 0.0001196/0.101, allocations: 129.7 kB / 473.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.101, allocations: 11.94 kB / 473.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.1013, allocations: 122.8 kB / 473.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1013, allocations: 0 / 473.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1013, allocations: 4 kB / 473.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1013, allocations: 0 / 473.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.1016, allocations: 229.8 kB / 474.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1016, allocations: 0 / 474.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.1016, allocations: 7.938 kB / 474.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001388/0.1018, allocations: 36.77 kB / 474.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1018, allocations: 4 kB / 474.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.103, allocations: 1.418 MB / 475.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.103, allocations: 0 / 475.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1033, allocations: 204.5 kB / 475.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.1033, allocations: 81.06 kB / 475.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1034, allocations: 7.984 kB / 475.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1035, allocations: 4 kB / 475.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.1035, allocations: 11.92 kB / 475.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.1035, allocations: 7.938 kB / 475.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1036, allocations: 111.3 kB / 476 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1036, allocations: 0 / 476 MB, free: 7.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.1039, allocations: 39.89 kB / 476 MB, free: 7.453 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.0006597/0.1046, allocations: 0.7484 MB / 476.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.105, allocations: 186.6 kB / 476.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.105, allocations: 0 / 476.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.1052, allocations: 151.2 kB / 477.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1056, allocations: 16 kB / 477.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.1077, allocations: 1.621 MB / 478.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1081, allocations: 0.708 MB / 479.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.51e-05/0.1081, allocations: 12.66 kB / 479.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.1082, allocations: 35.42 kB / 479.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1082, allocations: 0 / 479.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.1349, allocations: 2.945 MB / 482.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.313/9.447, allocations: 7.156 kB / 482.4 MB, free: 0.9727 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)