Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",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.001128/0.001128, allocations: 110.5 kB / 16.45 MB, free: 6.441 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.001126/0.001126, allocations: 186.4 kB / 17.38 MB, free: 5.688 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.224/1.224, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04191/0.04191, allocations: 8.1 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 71.88 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08609/0.08719, allocations: 51.51 MB / 465.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002703/0.08994, allocations: 1.613 MB / 467.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.09199, allocations: 1.547 MB / 468.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.09218, allocations: 4 kB / 468.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.09258, allocations: 123.3 kB / 468.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.09301, allocations: 147.1 kB / 468.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.09494, allocations: 1.167 MB / 470.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.09532, allocations: 238.8 kB / 470.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.09549, allocations: 76.33 kB / 470.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.09563, allocations: 107.5 kB / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.09584, allocations: 123.5 kB / 470.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.09589, allocations: 23.94 kB / 470.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.09634, allocations: 255.8 kB / 470.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.09639, allocations: 43.84 kB / 470.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.09652, allocations: 119.3 kB / 471.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005867/0.09711, allocations: 430.7 kB / 471.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.09713, allocations: 4 kB / 471.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09713, allocations: 0 / 471.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.09715, allocations: 0 / 471.5 MB, free: 12.68 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002992/0.1001, allocations: 0.9157 MB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1002, allocations: 11.89 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.399e-05/0.1003, allocations: 54.73 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.1004, allocations: 28.75 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1007, allocations: 263.9 kB / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1007, allocations: 16.7 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.1007, allocations: 20.38 kB / 472.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.1012, allocations: 285.7 kB / 473.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1012, allocations: 7.922 kB / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.1012, allocations: 12 kB / 473.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1012, allocations: 4 kB / 473.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.1016, allocations: 247.8 kB / 473.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.103, allocations: 1.137 MB / 474.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.1036, allocations: 307.4 kB / 474.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.1038, allocations: 157.3 kB / 474.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.1039, allocations: 11.92 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1039, allocations: 42.55 kB / 475 MB, free: 8.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.282e-06/0.1039, allocations: 0 / 475 MB, free: 8.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003014/0.1069, allocations: 0.9673 MB / 475.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.107, allocations: 85.05 kB / 476 MB, free: 7.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1072, allocations: 206.9 kB / 476.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.1073, allocations: 33.7 kB / 476.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.1073, allocations: 132.8 kB / 476.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/0.1074, allocations: 99.2 kB / 476.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1075, allocations: 69.69 kB / 476.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.1076, allocations: 330.8 kB / 476.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.1079, allocations: 156 kB / 477 MB, free: 6.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.1081, allocations: 193.6 kB / 477.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.1086, allocations: 374.1 kB / 477.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1086, allocations: 0 / 477.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001694/0.1103, allocations: 0.6929 MB / 478.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1104, allocations: 4 kB / 478.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1104, allocations: 7.875 kB / 478.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/0.1121, allocations: 380.4 kB / 478.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.1123, allocations: 51.97 kB / 478.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/0.1164, allocations: 2.746 MB / 481.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.1167, allocations: 31.84 kB / 481.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.1167, allocations: 11.98 kB / 481.5 MB, free: 2.16 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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.1169, allocations: 137.8 kB / 481.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.1169, allocations: 31.73 kB / 481.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.1186, allocations: 0.656 MB / 482.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1187, allocations: 4 kB / 482.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1187, allocations: 0 / 482.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1187, allocations: 3.984 kB / 482.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.119, allocations: 381.3 kB / 482.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1191, allocations: 3.984 kB / 482.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.1192, allocations: 39.98 kB / 482.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.1208, allocations: 372.7 kB / 483.1 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.1209, allocations: 11.94 kB / 483.1 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003994/0.1249, allocations: 2.703 MB / 485.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.1249, allocations: 4 kB / 485.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.1265, allocations: 0.7034 MB / 486.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.1266, allocations: 108.9 kB / 486.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.1267, allocations: 8 kB / 486.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.1269, allocations: 20.11 kB / 486.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.127, allocations: 19.97 kB / 486.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.127, allocations: 8 kB / 486.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1272, allocations: 155.4 kB / 486.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1272, allocations: 0 / 486.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004502/0.1276, allocations: 103.9 kB / 486.9 MB, free: 12.46 MB / 366.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 (22): * Single equations (assignments): 21 * 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001963/0.1296, allocations: 1.267 MB / 488.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.1312, allocations: 0.6624 MB / 488.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1312, allocations: 0 / 488.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.1324, allocations: 446.4 kB / 489.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.1327, allocations: 26.69 kB / 489.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/0.1382, allocations: 3.359 MB / 492.7 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1385, allocations: 0.7446 MB / 493.4 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1386, allocations: 37.92 kB / 493.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.1388, allocations: 67.41 kB / 493.5 MB, free: 5.699 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1388, allocations: 0 / 493.5 MB, free: 5.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.1666, allocations: 8.807 MB / 0.4906 GB, free: 13.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.46, allocations: 11.31 kB / 0.4906 GB, free: 13.02 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad_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_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)