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.001175/0.001175, allocations: 106 kB / 16.45 MB, free: 6.5 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.001135/0.001135, 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.294/1.294, 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.04072/0.04072, allocations: 8.103 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.89 kB / 414 MB, free: 22.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08864/0.0898, allocations: 51.51 MB / 465.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.003686/0.09352, allocations: 2.696 MB / 468.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.09595, allocations: 1.621 MB / 469.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.09625, allocations: 8 kB / 469.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.09681, allocations: 171 kB / 470 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006787/0.0975, allocations: 222.5 kB / 470.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.09965, allocations: 1.241 MB / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006689/0.1003, allocations: 461.8 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.1006, allocations: 173.8 kB / 472.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.1009, allocations: 183.3 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.1013, allocations: 235.1 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.1014, allocations: 36 kB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005735/0.102, allocations: 283.7 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1021, allocations: 87.62 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.1024, allocations: 226.9 kB / 473.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009407/0.1033, allocations: 0.6305 MB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1033, allocations: 0 / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1033, allocations: 0 / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1034, allocations: 0 / 473.7 MB, free: 10.29 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.004747/0.1081, allocations: 1.418 MB / 475.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1082, allocations: 15.89 kB / 475.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.255e-05/0.1083, allocations: 74.7 kB / 475.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1084, allocations: 52.59 kB / 475.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.1088, allocations: 339.6 kB / 475.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.1089, allocations: 29.03 kB / 475.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.109, allocations: 40.38 kB / 475.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.1098, allocations: 0.5141 MB / 476.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1098, allocations: 3.938 kB / 476.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.1099, allocations: 12 kB / 476.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1099, allocations: 8 kB / 476.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006454/0.1106, allocations: 450.4 kB / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/0.1131, allocations: 2.103 MB / 478.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.1141, allocations: 0.5863 MB / 479.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.1144, allocations: 276.7 kB / 479.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.991e-05/0.1145, allocations: 11.98 kB / 479.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1145, allocations: 42.5 kB / 479.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.1146, allocations: 0 / 479.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.005941/0.1205, allocations: 1.826 MB / 481.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.1206, allocations: 110.8 kB / 481.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.1209, allocations: 274.9 kB / 481.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.1209, allocations: 37.7 kB / 481.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.121, allocations: 184.9 kB / 482.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.1212, allocations: 154.7 kB / 482.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.1213, allocations: 102.2 kB / 482.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1215, allocations: 342.8 kB / 482.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/0.1219, allocations: 285 kB / 483 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.1223, allocations: 344.6 kB / 483.3 MB, free: 248 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/0.1232, allocations: 0.6257 MB / 483.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1232, allocations: 3.938 kB / 483.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003024/0.1263, allocations: 1.252 MB / 485.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1263, allocations: 4 kB / 485.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1263, allocations: 0 / 485.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/0.1295, allocations: 0.7734 MB / 486 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.1298, allocations: 91.88 kB / 486 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006778/0.1366, allocations: 4.058 MB / 490.1 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.137, allocations: 51.61 kB / 490.2 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.1371, allocations: 16 kB / 490.2 MB, free: 9.219 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.0002246/0.1373, allocations: 173.7 kB / 490.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/0.1374, allocations: 35.77 kB / 490.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/0.1405, allocations: 1.195 MB / 491.6 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1405, allocations: 4 kB / 491.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1406, allocations: 0 / 491.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.1406, allocations: 7.984 kB / 491.6 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003698/0.1443, allocations: 1.799 MB / 493.4 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1443, allocations: 3.938 kB / 493.4 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.1445, allocations: 59.91 kB / 493.4 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003131/0.1476, allocations: 0.7416 MB / 494.2 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.1477, allocations: 12 kB / 494.2 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00671/0.1544, allocations: 4.023 MB / 498.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1544, allocations: 0 / 498.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.1574, allocations: 1.212 MB / 499.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1575, allocations: 124.7 kB / 499.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.1576, allocations: 12 kB / 499.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.1579, allocations: 30.95 kB / 499.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/0.158, allocations: 36.38 kB / 499.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.1581, allocations: 16 kB / 499.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.1582, allocations: 190 kB / 499.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1583, allocations: 0 / 499.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006131/0.1589, allocations: 191.8 kB / 0.4883 GB, free: 15.11 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.003269/0.1622, allocations: 1.783 MB / 0.49 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.1645, allocations: 1.019 MB / 0.491 GB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.1645, allocations: 0 / 0.491 GB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.1661, allocations: 0.6768 MB / 0.4917 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1665, allocations: 36.83 kB / 0.4917 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009146/0.1757, allocations: 5.141 MB / 0.4968 GB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1761, allocations: 0.813 MB / 0.4975 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.1763, allocations: 50.92 kB / 0.4976 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.1764, allocations: 135.4 kB / 0.4977 GB, free: 5.285 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1764, allocations: 0 / 0.4977 GB, free: 5.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2481/0.4246, allocations: 15.01 MB / 0.5124 GB, free: 45.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.2, allocations: 4 kB / 0.5124 GB, free: 45.1 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)