Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",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.00127/0.00127, allocations: 100.5 kB / 16.45 MB, free: 6.43 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.001203/0.001203, allocations: 188.9 kB / 17.39 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.255/1.255, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04453/0.04453, allocations: 8.096 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 67.89 kB / 414 MB, free: 22.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07655/0.07768, allocations: 51.5 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.003166/0.08088, allocations: 2.7 MB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.08265, allocations: 1.613 MB / 469.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.08277, allocations: 8 kB / 469.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.08312, allocations: 175 kB / 470 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.08353, allocations: 218.5 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.08544, allocations: 1.245 MB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004312/0.08588, allocations: 461.7 kB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.0861, allocations: 173.8 kB / 472.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.08627, allocations: 187.3 kB / 472.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.08653, allocations: 231 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.08658, allocations: 36 kB / 472.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.08697, allocations: 279.7 kB / 472.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.08705, allocations: 87.67 kB / 472.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.08722, allocations: 226.9 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.08786, allocations: 0.6344 MB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.08787, allocations: 0 / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.08788, allocations: 0 / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.08789, allocations: 0 / 473.7 MB, free: 10.38 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00453/0.09242, allocations: 1.422 MB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.09246, allocations: 11.89 kB / 475.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.452e-05/0.09255, allocations: 70.72 kB / 475.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.284e-05/0.09265, allocations: 56.66 kB / 475.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.09301, allocations: 331.6 kB / 475.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.09305, allocations: 33.03 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.0931, allocations: 40.38 kB / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.09382, allocations: 0.5101 MB / 476.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.09384, allocations: 3.938 kB / 476.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.09388, allocations: 12 kB / 476.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.0939, allocations: 8 kB / 476.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.09452, allocations: 454.5 kB / 476.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.09693, allocations: 2.115 MB / 478.8 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000875/0.09781, allocations: 0.5707 MB / 479.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.09817, allocations: 272.8 kB / 479.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-05/0.09824, allocations: 19.97 kB / 479.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.09828, allocations: 46.5 kB / 479.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.503e-06/0.09828, allocations: 0 / 479.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006026/0.1043, allocations: 1.826 MB / 481.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.1044, allocations: 106.8 kB / 481.6 MB, free: 2.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.1046, allocations: 274.9 kB / 481.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.1047, allocations: 33.7 kB / 481.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1048, allocations: 184.9 kB / 482.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.1049, allocations: 154.7 kB / 482.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.1051, allocations: 106.2 kB / 482.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1052, allocations: 342.8 kB / 482.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.1056, allocations: 285 kB / 483 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.106, allocations: 344.6 kB / 483.3 MB, free: 348 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008564/0.1069, allocations: 0.6179 MB / 483.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1069, allocations: 15.91 kB / 483.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003059/0.1099, allocations: 1.245 MB / 485.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.11, allocations: 4 kB / 485.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.11, allocations: 4 kB / 485.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/0.1133, allocations: 0.7773 MB / 486 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.1136, allocations: 87.89 kB / 486 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006644/0.1202, allocations: 4.053 MB / 490.1 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.1206, allocations: 59.61 kB / 490.2 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.1207, allocations: 19.98 kB / 490.2 MB, free: 9.316 MB / 366.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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.1209, allocations: 165.7 kB / 490.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.1209, allocations: 35.77 kB / 490.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/0.124, allocations: 1.202 MB / 491.6 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1241, allocations: 4 kB / 491.6 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1241, allocations: 4 kB / 491.6 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1241, allocations: 7.969 kB / 491.6 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.1276, allocations: 1.787 MB / 493.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1276, allocations: 3.938 kB / 493.4 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.1278, allocations: 67.91 kB / 493.4 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003126/0.1309, allocations: 0.7305 MB / 494.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.131, allocations: 12 kB / 494.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00625/0.1372, allocations: 4.025 MB / 498.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1373, allocations: 0 / 498.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/0.1402, allocations: 1.223 MB / 499.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.1403, allocations: 124.7 kB / 499.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.1403, allocations: 8 kB / 499.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.1407, allocations: 30.92 kB / 499.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1408, allocations: 32.39 kB / 499.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.1408, allocations: 16 kB / 499.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.141, allocations: 190 kB / 499.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.141, allocations: 4 kB / 499.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005602/0.1416, allocations: 191.8 kB / 0.4883 GB, free: 15.21 MB / 382.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 (35): * Single equations (assignments): 34 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003249/0.1448, allocations: 1.783 MB / 0.49 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002198/0.147, allocations: 1.027 MB / 0.491 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1471, allocations: 0 / 0.491 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.1486, allocations: 0.6687 MB / 0.4917 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.149, allocations: 47.5 kB / 0.4917 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008803/0.1578, allocations: 5.141 MB / 0.4968 GB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.1582, allocations: 0.8091 MB / 0.4976 GB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.1583, allocations: 50.92 kB / 0.4976 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.1585, allocations: 135.4 kB / 0.4977 GB, free: 5.379 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1585, allocations: 0 / 0.4977 GB, free: 5.379 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2244/0.3829, allocations: 15.01 MB / 0.5124 GB, free: 45.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.73, allocations: 4.344 kB / 0.5124 GB, free: 45.46 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)