Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",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.001162/0.001162, allocations: 100.6 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.001166/0.001166, allocations: 188.9 kB / 17.38 MB, free: 5.691 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.342/1.342, 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.04935/0.04935, allocations: 8.099 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 63.89 kB / 414 MB, free: 22.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08674, allocations: 51.51 MB / 465.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003804/0.09058, allocations: 2.792 MB / 468.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.09311, allocations: 1.761 MB / 470.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.09326, allocations: 8 kB / 470.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.09372, allocations: 178.9 kB / 470.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005475/0.09427, allocations: 258.4 kB / 470.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.09629, allocations: 1.124 MB / 471.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006325/0.09693, allocations: 0.517 MB / 472.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.0972, allocations: 160.3 kB / 472.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.09741, allocations: 215.2 kB / 472.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.09773, allocations: 262.9 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.373e-05/0.0978, allocations: 40 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.09828, allocations: 263.7 kB / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.09838, allocations: 99.61 kB / 473.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.09862, allocations: 246.7 kB / 473.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008072/0.09944, allocations: 0.6772 MB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.09945, allocations: 0 / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09946, allocations: 4 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.09947, allocations: 0 / 474.1 MB, free: 10.15 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.006144/0.1056, allocations: 1.665 MB / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1057, allocations: 15.89 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.831e-05/0.1058, allocations: 74.72 kB / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.1059, allocations: 56.61 kB / 475.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.1064, allocations: 372.1 kB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.1064, allocations: 33.36 kB / 476.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1065, allocations: 44.38 kB / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009796/0.1075, allocations: 0.6047 MB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1075, allocations: 0 / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.1076, allocations: 12 kB / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1076, allocations: 12 kB / 476.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008779/0.1085, allocations: 0.5389 MB / 477.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.1117, allocations: 2.239 MB / 479.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.1129, allocations: 0.8693 MB / 480.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/0.1135, allocations: 410.4 kB / 481 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/0.1152, allocations: 1.338 MB / 482.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.1152, allocations: 50.92 kB / 482.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.734e-06/0.1152, allocations: 0 / 482.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.009857/0.1251, allocations: 2.65 MB / 485 MB, free: 14.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1252, allocations: 119.2 kB / 485.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.1256, allocations: 345.5 kB / 485.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/0.1257, allocations: 37.7 kB / 485.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.1259, allocations: 205.5 kB / 485.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.126, allocations: 190.4 kB / 485.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.1263, allocations: 138.6 kB / 486 MB, free: 13.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1265, allocations: 358.8 kB / 486.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006326/0.1271, allocations: 397.9 kB / 486.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.1279, allocations: 0.5089 MB / 487.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.1292, allocations: 0.9453 MB / 488.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1292, allocations: 0 / 488.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004721/0.134, allocations: 1.793 MB / 490 MB, free: 9.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.134, allocations: 4 kB / 490 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.134, allocations: 4 kB / 490 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004692/0.1387, allocations: 1.098 MB / 491.1 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.1392, allocations: 115.8 kB / 491.2 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009267/0.1485, allocations: 5.226 MB / 496.5 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/0.1491, allocations: 79.34 kB / 496.5 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.1492, allocations: 31.98 kB / 496.6 MB, free: 2.848 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002438/0.1494, allocations: 173.7 kB / 496.8 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.804e-05/0.1495, allocations: 47.72 kB / 496.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004511/0.154, allocations: 1.632 MB / 498.4 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1541, allocations: 8 kB / 498.4 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1541, allocations: 4 kB / 498.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1541, allocations: 3.984 kB / 498.4 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007817/0.1549, allocations: 0.6737 MB / 499.1 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1549, allocations: 0 / 499.1 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.1551, allocations: 67.91 kB / 499.2 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004585/0.1597, allocations: 1.023 MB / 0.4885 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.1598, allocations: 12 kB / 0.4885 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009684/0.1695, allocations: 5.21 MB / 0.4936 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1695, allocations: 3.938 kB / 0.4936 GB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004451/0.174, allocations: 1.628 MB / 0.4952 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.1741, allocations: 128.7 kB / 0.4953 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.756e-05/0.1742, allocations: 12 kB / 0.4953 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.1746, allocations: 23.98 kB / 0.4953 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.1748, allocations: 44.44 kB / 0.4954 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/0.1749, allocations: 20.36 kB / 0.4954 GB, free: 7.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.1751, allocations: 223.2 kB / 0.4956 GB, free: 7.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1751, allocations: 4 kB / 0.4956 GB, free: 7.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008008/0.1759, allocations: 239.9 kB / 0.4958 GB, free: 7.438 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 (39): * Single equations (assignments): 38 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004878/0.1808, allocations: 2.2 MB / 0.498 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003151/0.184, allocations: 1.341 MB / 0.4993 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.184, allocations: 0 / 0.4993 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.1861, allocations: 0.8191 MB / 0.5001 GB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.1865, allocations: 44.41 kB / 0.5001 GB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1951/0.3816, allocations: 6.678 MB / 0.5067 GB, free: 44.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.382, allocations: 0.8308 MB / 0.5075 GB, free: 43.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002022/0.3822, allocations: 60.31 kB / 0.5075 GB, free: 43.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.3824, allocations: 149.5 kB / 0.5077 GB, free: 43.47 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3824, allocations: 0 / 0.5077 GB, free: 43.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04225/0.4246, allocations: 17.54 MB / 0.5248 GB, free: 38.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.44, allocations: 7.938 kB / 0.5248 GB, free: 38.14 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines_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_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)