Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",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.00107/0.00107, allocations: 101.6 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.0009396/0.0009396, allocations: 192.1 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04605/0.04605, allocations: 8.097 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 60.08 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09224, allocations: 51.52 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.004158/0.09645, allocations: 2.681 MB / 468.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.09913, allocations: 1.633 MB / 469.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.09931, allocations: 8 kB / 469.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.09976, allocations: 167 kB / 470 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005265/0.1003, allocations: 222.5 kB / 470.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.1023, allocations: 1.241 MB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005257/0.1029, allocations: 461.8 kB / 471.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.1031, allocations: 169.8 kB / 472.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.1033, allocations: 187.3 kB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.1036, allocations: 231 kB / 472.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.1037, allocations: 36 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004617/0.1042, allocations: 279.8 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.1042, allocations: 95.59 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.1045, allocations: 222.9 kB / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007191/0.1052, allocations: 0.6344 MB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1052, allocations: 3.938 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1052, allocations: 0 / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1052, allocations: 0 / 473.7 MB, free: 10.39 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.004722/0.1099, allocations: 1.426 MB / 475.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.11, allocations: 11.89 kB / 475.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.472e-05/0.1101, allocations: 74.72 kB / 475.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.1102, allocations: 48.66 kB / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.1106, allocations: 327.6 kB / 475.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.1107, allocations: 33.03 kB / 475.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/0.1107, allocations: 40.38 kB / 475.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007659/0.1115, allocations: 0.5101 MB / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1115, allocations: 7.938 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.1116, allocations: 12 kB / 476.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1116, allocations: 8 kB / 476.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000669/0.1123, allocations: 450.5 kB / 476.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.1148, allocations: 2.111 MB / 478.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008763/0.1157, allocations: 0.5746 MB / 479.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.1161, allocations: 272.8 kB / 479.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.265e-05/0.1162, allocations: 12 kB / 479.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1162, allocations: 42.5 kB / 479.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.422e-06/0.1162, allocations: 0 / 479.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.007009/0.1233, allocations: 1.947 MB / 481.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.1234, allocations: 110.8 kB / 481.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.1236, allocations: 270.9 kB / 482 MB, free: 1.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.1237, allocations: 37.7 kB / 482 MB, free: 1.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1238, allocations: 188.9 kB / 482.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1239, allocations: 146.7 kB / 482.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.1241, allocations: 110.2 kB / 482.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1243, allocations: 346.8 kB / 482.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.1247, allocations: 281 kB / 483.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/0.1251, allocations: 336.6 kB / 483.4 MB, free: 252 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008641/0.126, allocations: 0.6217 MB / 484 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.126, allocations: 0 / 484 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003092/0.1291, allocations: 1.252 MB / 485.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1291, allocations: 7.938 kB / 485.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1292, allocations: 3.984 kB / 485.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003296/0.1325, allocations: 0.7766 MB / 486.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.1328, allocations: 83.89 kB / 486.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006872/0.1397, allocations: 4.019 MB / 490.2 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.1401, allocations: 47.62 kB / 490.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.1402, allocations: 23.98 kB / 490.2 MB, free: 9.266 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.0002429/0.1404, allocations: 165.7 kB / 490.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/0.1405, allocations: 39.77 kB / 490.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00316/0.1437, allocations: 1.179 MB / 491.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1437, allocations: 4 kB / 491.6 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1437, allocations: 0 / 491.6 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1437, allocations: 4 kB / 491.6 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/0.1474, allocations: 1.763 MB / 493.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1474, allocations: 3.938 kB / 493.4 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.1476, allocations: 51.92 kB / 493.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003158/0.1508, allocations: 0.7413 MB / 494.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.1508, allocations: 12 kB / 494.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006376/0.1572, allocations: 3.974 MB / 498.2 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1572, allocations: 3.938 kB / 498.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.1602, allocations: 1.196 MB / 499.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1603, allocations: 116.8 kB / 499.5 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.1604, allocations: 11.98 kB / 499.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.1607, allocations: 31.11 kB / 499.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.1608, allocations: 36.39 kB / 499.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.1609, allocations: 16 kB / 499.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.1611, allocations: 194 kB / 499.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1611, allocations: 0 / 499.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005962/0.1617, allocations: 191.8 kB / 499.9 MB, free: 15.29 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.003227/0.1649, allocations: 1.748 MB / 0.4899 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.1672, allocations: 1.035 MB / 0.4909 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1672, allocations: 0 / 0.4909 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.1689, allocations: 0.6686 MB / 0.4916 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1693, allocations: 36.88 kB / 0.4916 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009166/0.1784, allocations: 5.129 MB / 0.4966 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.1789, allocations: 0.813 MB / 0.4974 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.1791, allocations: 50.92 kB / 0.4975 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.1793, allocations: 131.4 kB / 0.4976 GB, free: 5.508 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1793, allocations: 0 / 0.4976 GB, free: 5.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2218/0.4011, allocations: 14.97 MB / 0.5122 GB, free: 45.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.31, allocations: 6.438 kB / 0.5122 GB, free: 45.2 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)