Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 110.9 kB / 17.17 MB, free: 5.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 211.2 kB / 20.14 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03781/0.03781, allocations: 6.135 MB / 315.7 MB, free: 1.137 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 46.41 kB / 439.2 MB, free: 40.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09484, allocations: 54.98 MB / 494.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002077/0.09692, allocations: 1.374 MB / 495.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.0984, allocations: 1.579 MB / 497.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.09848, allocations: 4 kB / 497.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.09876, allocations: 111.4 kB / 497.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.09896, allocations: 91.39 kB / 497.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.1002, allocations: 0.887 MB / 498.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.1005, allocations: 187 kB / 498.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1006, allocations: 45.94 kB / 498.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.1007, allocations: 79.7 kB / 498.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1009, allocations: 99.59 kB / 498.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.1009, allocations: 16 kB / 498.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.1012, allocations: 211.8 kB / 498.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.1013, allocations: 31.86 kB / 498.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.084e-05/0.1013, allocations: 99.45 kB / 499 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.1017, allocations: 354.8 kB / 499.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1017, allocations: 11.92 kB / 499.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1017, allocations: 0 / 499.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1017, allocations: 0 / 499.4 MB, free: 5.324 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001821/0.1036, allocations: 0.6818 MB / 0.4883 GB, free: 4.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1036, allocations: 8.031 kB / 0.4883 GB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.1037, allocations: 46.73 kB / 0.4884 GB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.1037, allocations: 32.73 kB / 0.4884 GB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.104, allocations: 225.9 kB / 0.4886 GB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.104, allocations: 16.66 kB / 0.4886 GB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.104, allocations: 20.31 kB / 0.4887 GB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.1043, allocations: 216.4 kB / 0.4889 GB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1043, allocations: 3.938 kB / 0.4889 GB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.1043, allocations: 4 kB / 0.4889 GB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1044, allocations: 4 kB / 0.4889 GB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.1046, allocations: 196.8 kB / 0.4891 GB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.1055, allocations: 0.8501 MB / 0.4899 GB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.1062, allocations: 349.6 kB / 0.4902 GB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.1063, allocations: 116.8 kB / 0.4903 GB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.227e-05/0.1064, allocations: 8 kB / 0.4904 GB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.1064, allocations: 38.56 kB / 0.4904 GB, free: 2.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.252e-06/0.1064, allocations: 0 / 0.4904 GB, free: 2.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.002034/0.1084, allocations: 0.7208 MB / 0.4911 GB, free: 1.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1085, allocations: 55.41 kB / 0.4911 GB, free: 1.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.1087, allocations: 177.6 kB / 0.4913 GB, free: 1.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.1087, allocations: 33.7 kB / 0.4913 GB, free: 1.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.1088, allocations: 120.5 kB / 0.4915 GB, free: 1.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.1088, allocations: 91.2 kB / 0.4916 GB, free: 1.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.1089, allocations: 53.69 kB / 0.4916 GB, free: 1.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.109, allocations: 330.8 kB / 0.4919 GB, free: 0.6719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.1092, allocations: 120 kB / 0.492 GB, free: 0.5547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.1093, allocations: 128.5 kB / 0.4922 GB, free: 440 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.1097, allocations: 276.8 kB / 0.4924 GB, free: 160 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1097, allocations: 0 / 0.4924 GB, free: 160 kB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001039/0.1107, allocations: 478.6 kB / 0.4929 GB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1107, allocations: 11.94 kB / 0.4929 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1107, allocations: 0 / 0.4929 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008306/0.1116, allocations: 188.6 kB / 0.4931 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1117, allocations: 31.98 kB / 0.4931 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/0.1152, allocations: 2.344 MB / 0.4954 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.1154, allocations: 23.78 kB / 0.4954 GB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.1154, allocations: 11.94 kB / 0.4954 GB, free: 12.93 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 (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.1156, allocations: 139.7 kB / 0.4956 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.1156, allocations: 19.89 kB / 0.4956 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.1168, allocations: 451.8 kB / 0.496 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1168, allocations: 4 kB / 0.496 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1168, allocations: 0 / 0.496 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1168, allocations: 288 / 0.496 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.1183, allocations: 0.8467 MB / 0.4968 GB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1183, allocations: 4.094 kB / 0.4968 GB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1184, allocations: 35.8 kB / 0.4969 GB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007393/0.1191, allocations: 180.7 kB / 0.497 GB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.1191, allocations: 4 kB / 0.497 GB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.1222, allocations: 2.321 MB / 0.4993 GB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1222, allocations: 0 / 0.4993 GB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1233, allocations: 0.5201 MB / 0.4998 GB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.1234, allocations: 92.95 kB / 0.4999 GB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.1234, allocations: 8 kB / 0.4999 GB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.1236, allocations: 11.98 kB / 0.4999 GB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.1237, allocations: 15.97 kB / 0.4999 GB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1237, allocations: 8 kB / 0.5 GB, free: 8.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.1238, allocations: 139.2 kB / 0.5001 GB, free: 7.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1238, allocations: 4.281 kB / 0.5001 GB, free: 7.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004223/0.1242, allocations: 87.86 kB / 0.5002 GB, free: 7.801 MB / 366.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 (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.1257, allocations: 1.069 MB / 0.5012 GB, free: 6.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.1268, allocations: 474.3 kB / 0.5017 GB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1268, allocations: 0 / 0.5017 GB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006869/0.1275, allocations: 322.5 kB / 0.502 GB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1278, allocations: 27.92 kB / 0.502 GB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.1322, allocations: 2.722 MB / 0.5047 GB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.1326, allocations: 0.7367 MB / 0.5054 GB, free: 2.305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.15e-05/0.1327, allocations: 25.53 kB / 0.5054 GB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.1328, allocations: 47.42 kB / 0.5055 GB, free: 2.23 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1328, allocations: 0 / 0.5055 GB, free: 2.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.1659, allocations: 7.031 MB / 0.5123 GB, free: 11.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12, allocations: 15.98 kB / 0.5123 GB, free: 11.31 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank_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_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.832683820990496] Failed to read output from testmodel.py, exit status != 0: 12.091969065004378 12.10800474 12.003435358 Calling exit ...