Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.0008739/0.0008739, allocations: 76.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.0008956/0.0008956, allocations: 177.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9114/0.9114, allocations: 177.1 MB / 203.6 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.02402/0.02402, allocations: 4.462 MB / 264.5 MB, free: 8.754 MB / 250.7 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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.978e-05, allocations: 4.953 kB / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.001845/0.001864, allocations: 1.609 MB / 391.2 MB, free: 5.801 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.00359, allocations: 1.547 MB / 392.8 MB, free: 4.238 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.498e-05/0.003675, allocations: 12 kB / 392.8 MB, free: 4.227 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.003996, allocations: 135.1 kB / 392.9 MB, free: 4.094 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.004269, allocations: 131 kB / 393 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007724/0.005042, allocations: 0.6067 MB / 393.6 MB, free: 3.355 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.005448, allocations: 298.4 kB / 393.9 MB, free: 3.062 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.005634, allocations: 81.97 kB / 394 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.00579, allocations: 175.6 kB / 394.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.005901, allocations: 111.7 kB / 394.3 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.00593, allocations: 24 kB / 394.3 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.006215, allocations: 187.6 kB / 394.5 MB, free: 2.492 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.006249, allocations: 55.77 kB / 394.6 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.813e-05/0.006317, allocations: 95.75 kB / 394.6 MB, free: 2.344 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.006705, allocations: 446.7 kB / 395.1 MB, free: 1.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.006707, allocations: 0 / 395.1 MB, free: 1.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006708, allocations: 4 kB / 395.1 MB, free: 1.902 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.006712, allocations: 0 / 395.1 MB, free: 1.902 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001671/0.008384, allocations: 0.8912 MB / 396 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.008423, allocations: 15.97 kB / 396 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.041e-05/0.008473, allocations: 54.72 kB / 396 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.008528, allocations: 32.75 kB / 396.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.008758, allocations: 229.4 kB / 396.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.008773, allocations: 16.88 kB / 396.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.008803, allocations: 24.38 kB / 396.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.009219, allocations: 429.7 kB / 396.8 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.009228, allocations: 192 / 396.8 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.009248, allocations: 4.375 kB / 396.8 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.009256, allocations: 12.12 kB / 396.8 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.009607, allocations: 353.9 kB / 397.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.01063, allocations: 0.888 MB / 398 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.01103, allocations: 378.4 kB / 398.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.01124, allocations: 204.8 kB / 398.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.01129, allocations: 11.98 kB / 398.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.01131, allocations: 34.56 kB / 398.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.233e-06/0.01131, allocations: 0 / 398.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.001336/0.01265, allocations: 0.8499 MB / 399.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.01267, allocations: 55.41 kB / 399.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.01283, allocations: 235.1 kB / 399.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.01285, allocations: 29.7 kB / 399.8 MB, free: 13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.01293, allocations: 148.8 kB / 399.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.01299, allocations: 122.9 kB / 400.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-05/0.01308, allocations: 82.17 kB / 400.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.796e-05/0.01317, allocations: 346.8 kB / 400.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.01341, allocations: 236.9 kB / 400.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.01364, allocations: 248.4 kB / 400.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.01414, allocations: 0.5145 MB / 401.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01414, allocations: 0 / 401.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008218/0.01496, allocations: 0.7263 MB / 402.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01498, allocations: 11.94 kB / 402.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01498, allocations: 4 kB / 402.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.01534, allocations: 154.5 kB / 402.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.01555, allocations: 79.89 kB / 402.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.01824, allocations: 4.273 MB / 406.7 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.01837, allocations: 39.95 kB / 406.7 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.01839, allocations: 23.98 kB / 406.8 MB, free: 5.629 MB / 330.7 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.01852, allocations: 141.8 kB / 406.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.01856, allocations: 27.86 kB / 406.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007233/0.01928, allocations: 0.6041 MB / 407.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.01928, allocations: 4 kB / 407.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01928, allocations: 0 / 407.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01929, allocations: 0 / 407.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.01967, allocations: 348.4 kB / 407.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.01967, allocations: 3.938 kB / 407.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.01979, allocations: 55.91 kB / 407.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003026/0.02009, allocations: 154.4 kB / 408.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.02011, allocations: 4 kB / 408.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1473/0.1674, allocations: 4.265 MB / 412.4 MB, free: 32.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1674, allocations: 4.312 kB / 412.4 MB, free: 32.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008997/0.1683, allocations: 0.6314 MB / 413 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.1683, allocations: 30 kB / 413 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1684, allocations: 5.688 kB / 413 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1685, allocations: 14.22 kB / 413 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.1686, allocations: 26.47 kB / 413.1 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1686, allocations: 15.62 kB / 413.1 MB, free: 32.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.1687, allocations: 168.1 kB / 413.2 MB, free: 32.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1687, allocations: 0 / 413.2 MB, free: 32.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000428/0.1691, allocations: 112.6 kB / 413.4 MB, free: 32.5 MB / 330.7 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009089/0.17, allocations: 1.201 MB / 414.6 MB, free: 31.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009159/0.1709, allocations: 0.8364 MB / 415.4 MB, free: 31.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1709, allocations: 1.125 kB / 415.4 MB, free: 31.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004848/0.1714, allocations: 0.5762 MB / 416 MB, free: 30.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.1717, allocations: 22.88 kB / 416 MB, free: 30.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.1749, allocations: 3.628 MB / 419.6 MB, free: 28.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.741e-05/0.175, allocations: 145.4 kB / 419.8 MB, free: 28.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.1751, allocations: 36.84 kB / 419.8 MB, free: 28.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.1752, allocations: 82.05 kB / 419.9 MB, free: 28.5 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1752, allocations: 0 / 419.9 MB, free: 28.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.1998, allocations: 8.427 MB / 428.3 MB, free: 26.2 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.177/7.377, allocations: 9.641 kB / 428.3 MB, free: 26.2 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource_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_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.226957849226892] Failed to read output from testmodel.py, exit status != 0: 7.465385342948139 7.475611279 7.467506732 Calling exit ...