Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",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.001071/0.001071, allocations: 99.44 kB / 16.45 MB, free: 6.461 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.001131/0.001131, allocations: 192 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.241/1.241, 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.04397/0.04397, allocations: 8.111 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08629/0.08742, allocations: 51.52 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002608/0.09007, allocations: 1.255 MB / 466.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.09214, allocations: 1.493 MB / 468.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.09229, allocations: 4 kB / 468.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.09272, allocations: 111.5 kB / 468.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.09312, allocations: 107.4 kB / 468.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.09491, allocations: 1.007 MB / 469.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.09523, allocations: 159.2 kB / 469.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.09539, allocations: 53.52 kB / 469.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.0955, allocations: 71.7 kB / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.09569, allocations: 91.61 kB / 469.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.09574, allocations: 12 kB / 469.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.09616, allocations: 219.8 kB / 470.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.796e-05/0.09621, allocations: 35.84 kB / 470.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.373e-05/0.0963, allocations: 75.59 kB / 470.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.09683, allocations: 343.2 kB / 470.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.09684, allocations: 0 / 470.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.09685, allocations: 4 kB / 470.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.495e-06/0.09687, allocations: 0 / 470.5 MB, free: 13.65 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002221/0.09909, allocations: 0.7247 MB / 471.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.09914, allocations: 11.89 kB / 471.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.939e-05/0.09921, allocations: 50.67 kB / 471.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.09928, allocations: 16.84 kB / 471.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.09955, allocations: 228.1 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.09958, allocations: 12.61 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.09961, allocations: 12.38 kB / 471.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.09994, allocations: 205.9 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.09996, allocations: 7.938 kB / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.09999, allocations: 4 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1, allocations: 4 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.1003, allocations: 156.6 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.1014, allocations: 0.7263 MB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.1019, allocations: 206.5 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.102, allocations: 92.84 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/0.1021, allocations: 0 / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.1021, allocations: 42.55 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.1021, allocations: 7.938 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001916/0.104, allocations: 0.5853 MB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.1041, allocations: 77.11 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1043, allocations: 182.6 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.1044, allocations: 25.7 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.1044, allocations: 120.5 kB / 474 MB, free: 9.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.1045, allocations: 55.52 kB / 474 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.1046, allocations: 53.69 kB / 474.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1047, allocations: 326.8 kB / 474.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.1048, allocations: 104 kB / 474.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.105, allocations: 134.4 kB / 474.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.1053, allocations: 228.8 kB / 474.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1054, allocations: 3.938 kB / 474.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001023/0.1064, allocations: 422 kB / 475.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1064, allocations: 8 kB / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1064, allocations: 0 / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.1075, allocations: 204.6 kB / 475.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.1077, allocations: 31.98 kB / 475.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.1105, allocations: 1.98 MB / 477.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.1107, allocations: 19.84 kB / 477.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.1107, allocations: 12 kB / 477.5 MB, free: 6.172 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 (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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.1109, allocations: 129.8 kB / 477.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.1109, allocations: 19.88 kB / 477.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.112, allocations: 382.8 kB / 478 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.112, allocations: 0 / 478 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.112, allocations: 7.938 kB / 478.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.112, allocations: 0 / 478.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.1124, allocations: 305.4 kB / 478.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1124, allocations: 0 / 478.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1125, allocations: 31.92 kB / 478.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009295/0.1134, allocations: 200.6 kB / 478.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.1135, allocations: 8 kB / 478.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.1157, allocations: 1.949 MB / 480.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1158, allocations: 0 / 480.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009726/0.1167, allocations: 451.9 kB / 481 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.1168, allocations: 100.9 kB / 481.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1168, allocations: 4 kB / 481.1 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.117, allocations: 11.98 kB / 481.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.1171, allocations: 15.98 kB / 481.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1171, allocations: 4 kB / 481.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.1172, allocations: 140.2 kB / 481.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1172, allocations: 4 kB / 481.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.1176, allocations: 63.95 kB / 481.3 MB, free: 2.137 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 (15): * Single equations (assignments): 14 * 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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/0.1189, allocations: 0.994 MB / 482.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009376/0.1199, allocations: 417.4 kB / 482.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.1199, allocations: 4 kB / 482.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005927/0.1205, allocations: 282.4 kB / 483 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.1208, allocations: 23.92 kB / 483 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.1245, allocations: 2.513 MB / 485.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1248, allocations: 0.7242 MB / 486.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.999e-05/0.1249, allocations: 29.41 kB / 486.3 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.031e-05/0.125, allocations: 43.42 kB / 486.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.125, allocations: 0 / 486.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.1533, allocations: 6.177 MB / 492.5 MB, free: 6.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.24, allocations: 8.422 kB / 492.5 MB, free: 6.887 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad_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_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)