Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",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.001242/0.001242, allocations: 107.4 kB / 16.45 MB, free: 6.453 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.001248/0.001248, allocations: 186.4 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.331/1.331, 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.04973/0.04973, allocations: 8.095 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.89 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.09054, allocations: 51.51 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002554/0.09315, allocations: 1.232 MB / 466.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.09527, allocations: 1.485 MB / 468.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.0954, allocations: 4 kB / 468.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.09579, allocations: 103.5 kB / 468.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.09609, allocations: 75.47 kB / 468.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.0978, allocations: 0.8945 MB / 469.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.09812, allocations: 163.2 kB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.09827, allocations: 53.52 kB / 469.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.09839, allocations: 75.7 kB / 469.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.09856, allocations: 83.61 kB / 469.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.09861, allocations: 12 kB / 469.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.09902, allocations: 199.8 kB / 469.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.662e-05/0.09906, allocations: 27.91 kB / 469.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.178e-05/0.09916, allocations: 79.53 kB / 470 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.09967, allocations: 311.3 kB / 470.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.09969, allocations: 3.984 kB / 470.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09969, allocations: 0 / 470.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.09972, allocations: 4 kB / 470.3 MB, free: 13.86 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.001787/0.1015, allocations: 0.6389 MB / 470.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1016, allocations: 11.89 kB / 470.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.01e-05/0.1016, allocations: 46.73 kB / 471 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.1017, allocations: 16.84 kB / 471 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.102, allocations: 216.8 kB / 471.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.102, allocations: 8.609 kB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.102, allocations: 16.36 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.1024, allocations: 179.4 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1024, allocations: 0 / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.1024, allocations: 8 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1024, allocations: 4 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.1027, allocations: 160.6 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.1038, allocations: 0.7031 MB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.1043, allocations: 210.5 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1045, allocations: 88.84 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.1045, allocations: 11.97 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1046, allocations: 38.56 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 3.146e-06/0.1046, allocations: 0 / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001747/0.1063, allocations: 0.5806 MB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.1064, allocations: 51.41 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.1066, allocations: 159.9 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1066, allocations: 37.7 kB / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.1067, allocations: 120.3 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.1068, allocations: 51.53 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.1069, allocations: 45.7 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.107, allocations: 318.8 kB / 474 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1072, allocations: 95.97 kB / 474.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.1073, allocations: 94.81 kB / 474.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.1077, allocations: 216.6 kB / 474.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1077, allocations: 0 / 474.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008348/0.1085, allocations: 384.4 kB / 474.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1086, allocations: 18.22 kB / 474.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1086, allocations: 0 / 474.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006672/0.1092, allocations: 144.7 kB / 474.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1094, allocations: 23.98 kB / 474.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.112, allocations: 2.024 MB / 476.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1122, allocations: 11.89 kB / 477 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.1122, allocations: 12 kB / 477 MB, free: 6.742 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.1123, allocations: 137.8 kB / 477.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.1124, allocations: 16.09 kB / 477.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008538/0.1133, allocations: 355.3 kB / 477.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1133, allocations: 4 kB / 477.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1133, allocations: 0 / 477.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1133, allocations: 7.984 kB / 477.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.1136, allocations: 301.3 kB / 477.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1136, allocations: 3.938 kB / 477.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.1137, allocations: 19.98 kB / 477.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005806/0.1143, allocations: 128.7 kB / 477.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.1143, allocations: 15.98 kB / 477.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.1168, allocations: 2.005 MB / 479.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1168, allocations: 0 / 479.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.1176, allocations: 427.2 kB / 480.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.1e-05/0.1177, allocations: 100.8 kB / 480.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1178, allocations: 15.92 kB / 480.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.1179, allocations: 7.984 kB / 480.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.118, allocations: 19.98 kB / 480.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.118, allocations: 4 kB / 480.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.1182, allocations: 132 kB / 480.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1182, allocations: 0 / 480.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003555/0.1185, allocations: 64 kB / 480.7 MB, free: 2.773 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.1198, allocations: 0.9822 MB / 481.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008046/0.1206, allocations: 378.5 kB / 482 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1207, allocations: 0 / 482 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.1211, allocations: 266.5 kB / 482.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.1215, allocations: 22.33 kB / 482.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.125, allocations: 2.379 MB / 484.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1254, allocations: 0.7242 MB / 485.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.865e-05/0.1255, allocations: 21.47 kB / 485.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.1256, allocations: 43.42 kB / 485.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1256, allocations: 0 / 485.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.1566, allocations: 5.974 MB / 491.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.36, allocations: 7.75 kB / 491.5 MB, free: 7.934 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad_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_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)