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.0008262/0.0008262, allocations: 80.44 kB / 19.97 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.00135/0.00135, allocations: 173.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.9321/0.9321, allocations: 177.1 MB / 203.6 MB, free: 5.734 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.02605/0.02605, allocations: 4.469 MB / 264.5 MB, free: 8.758 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.523e-06/1.523e-06, allocations: 0 / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.374e-05, allocations: 6.219 kB / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002101/0.002125, allocations: 1.602 MB / 391.2 MB, free: 5.801 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.00408, allocations: 1.547 MB / 392.8 MB, free: 4.238 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.004165, allocations: 4 kB / 392.8 MB, free: 4.234 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.004501, allocations: 143.1 kB / 392.9 MB, free: 4.094 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.004778, allocations: 135 kB / 393 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007295/0.005507, allocations: 0.6063 MB / 393.6 MB, free: 3.355 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.005836, allocations: 306.4 kB / 393.9 MB, free: 3.055 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.005999, allocations: 77.97 kB / 394 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.006135, allocations: 171.6 kB / 394.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.006239, allocations: 119.7 kB / 394.3 MB, free: 2.691 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.006265, allocations: 24 kB / 394.3 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.006529, allocations: 175.7 kB / 394.5 MB, free: 2.496 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.006564, allocations: 59.75 kB / 394.5 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.006631, allocations: 103.7 kB / 394.6 MB, free: 2.336 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.006996, allocations: 438.7 kB / 395.1 MB, free: 1.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006999, allocations: 7.984 kB / 395.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007, allocations: 0 / 395.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.007004, allocations: 0 / 395.1 MB, free: 1.898 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.001653/0.008657, allocations: 0.8912 MB / 396 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.008701, allocations: 15.97 kB / 396 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.008752, allocations: 54.73 kB / 396 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.008805, allocations: 32.75 kB / 396.1 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.009279, allocations: 229.4 kB / 396.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.009293, allocations: 16.88 kB / 396.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.009322, allocations: 24.38 kB / 396.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.009719, allocations: 429.7 kB / 396.8 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.009727, allocations: 192 / 396.8 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.009748, allocations: 8.375 kB / 396.8 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.009756, allocations: 12.12 kB / 396.8 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.01009, allocations: 349.8 kB / 397.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.01116, allocations: 0.8803 MB / 398 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.01157, allocations: 386.3 kB / 398.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.01177, allocations: 211.9 kB / 398.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.01181, allocations: 11.98 kB / 398.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.01184, allocations: 38.56 kB / 398.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.353e-06/0.01184, allocations: 0 / 398.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.00137/0.01321, allocations: 0.8421 MB / 399.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.01324, allocations: 55.41 kB / 399.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.0134, allocations: 231.1 kB / 399.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.01342, allocations: 33.7 kB / 399.8 MB, free: 13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.01349, allocations: 144.8 kB / 399.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.01355, allocations: 118.9 kB / 400 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/0.01365, allocations: 90.16 kB / 400.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.01373, allocations: 342.8 kB / 400.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.01396, allocations: 236.9 kB / 400.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.01419, allocations: 248.4 kB / 400.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.01467, allocations: 0.5145 MB / 401.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01468, allocations: 0 / 401.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008226/0.0155, allocations: 0.7264 MB / 402.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.01552, allocations: 15.92 kB / 402.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01552, allocations: 0 / 402.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/0.01588, allocations: 150.5 kB / 402.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.01609, allocations: 79.89 kB / 402.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.01884, allocations: 4.285 MB / 406.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.01897, allocations: 31.92 kB / 406.7 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.01899, allocations: 20 kB / 406.8 MB, free: 5.633 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.0001163/0.01911, allocations: 149.8 kB / 406.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.01914, allocations: 23.86 kB / 406.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007414/0.01988, allocations: 0.5924 MB / 407.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01989, allocations: 12 kB / 407.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.01989, allocations: 0 / 407.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.0199, allocations: 3.984 kB / 407.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.02017, allocations: 356.4 kB / 407.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.02018, allocations: 3.938 kB / 407.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.02035, allocations: 51.91 kB / 407.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003278/0.02067, allocations: 154.5 kB / 408.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.02069, allocations: 8 kB / 408.1 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1639/0.1846, allocations: 4.26 MB / 412.4 MB, free: 32.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1846, allocations: 3.75 kB / 412.4 MB, free: 32.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009167/0.1855, allocations: 0.6324 MB / 413 MB, free: 32.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.1855, allocations: 31.39 kB / 413 MB, free: 32.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.1856, allocations: 7.406 kB / 413 MB, free: 32.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1857, allocations: 10.5 kB / 413 MB, free: 32.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.1858, allocations: 26.88 kB / 413.1 MB, free: 32.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.1858, allocations: 15.25 kB / 413.1 MB, free: 32.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1859, allocations: 168.3 kB / 413.3 MB, free: 32.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1859, allocations: 1.5 kB / 413.3 MB, free: 32.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004177/0.1863, allocations: 114.7 kB / 413.4 MB, free: 32.44 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.0009444/0.1873, allocations: 1.195 MB / 414.6 MB, free: 31.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009515/0.1882, allocations: 0.8395 MB / 415.4 MB, free: 31.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1882, allocations: 1.25 kB / 415.4 MB, free: 31.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004743/0.1887, allocations: 0.5743 MB / 416 MB, free: 30.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.1889, allocations: 18.58 kB / 416 MB, free: 30.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.1922, allocations: 3.63 MB / 419.6 MB, free: 28.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.1923, allocations: 143.6 kB / 419.8 MB, free: 28.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.1924, allocations: 38.02 kB / 419.8 MB, free: 28.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/0.1925, allocations: 80.3 kB / 419.9 MB, free: 28.47 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1925, allocations: 0 / 419.9 MB, free: 28.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.2172, allocations: 8.431 MB / 428.3 MB, free: 26.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.305, allocations: 7.922 kB / 428.3 MB, free: 26.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.072342014871538] Failed to read output from testmodel.py, exit status != 0: 7.391583224758506 7.399108636 7.390803362 Calling exit ...