Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.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.0008862/0.0008862, allocations: 80.53 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.00105/0.00105, 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.8851/0.8851, allocations: 177.1 MB / 203.6 MB, free: 5.75 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.02348/0.02348, allocations: 4.47 MB / 264.4 MB, free: 8.781 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.BreakerTests.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.089e-05, allocations: 5.094 kB / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.BreakersWithLines): time 0.00265/0.002671, allocations: 2.742 MB / 392.4 MB, free: 4.645 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009642/0.003635, allocations: 0.8014 MB / 393.2 MB, free: 3.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.003726, allocations: 4 kB / 393.2 MB, free: 3.836 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.00404, allocations: 147.1 kB / 393.3 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.004291, allocations: 154.9 kB / 393.5 MB, free: 3.539 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.005043, allocations: 0.6028 MB / 394.1 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.005385, allocations: 326.3 kB / 394.4 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.005557, allocations: 96.61 kB / 394.5 MB, free: 2.516 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.005689, allocations: 191.6 kB / 394.7 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.005866, allocations: 155.6 kB / 394.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.005897, allocations: 32 kB / 394.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.006171, allocations: 183.7 kB / 395 MB, free: 1.965 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.006213, allocations: 67.73 kB / 395.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.00635, allocations: 107.7 kB / 395.2 MB, free: 1.793 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.006761, allocations: 494.4 kB / 395.7 MB, free: 1.309 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.006765, allocations: 0 / 395.7 MB, free: 1.309 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006766, allocations: 0 / 395.7 MB, free: 1.309 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.006771, allocations: 0 / 395.7 MB, free: 1.309 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001384/0.008154, allocations: 0.8249 MB / 396.5 MB, free: 460 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.008196, allocations: 8.031 kB / 396.5 MB, free: 452 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.821e-05/0.008254, allocations: 78.72 kB / 396.6 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.008312, allocations: 36.7 kB / 396.6 MB, free: 328 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.008535, allocations: 218 kB / 396.8 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/0.008621, allocations: 88.7 kB / 396.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.008913, allocations: 32.38 kB / 397 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.009359, allocations: 406.6 kB / 397.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.009369, allocations: 192 / 397.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.009392, allocations: 12.12 kB / 397.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.009398, allocations: 8 kB / 397.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.009787, allocations: 414.5 kB / 397.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.01092, allocations: 1.025 MB / 398.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.01157, allocations: 482.7 kB / 399.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.01177, allocations: 208.7 kB / 399.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.721e-05/0.01182, allocations: 11.94 kB / 399.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.01184, allocations: 38.56 kB / 399.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.684e-06/0.01184, allocations: 0 / 399.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.00145/0.01329, allocations: 0.9483 MB / 400.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000287/0.01358, allocations: 59.41 kB / 400.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.01372, allocations: 215.5 kB / 400.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.01375, allocations: 33.7 kB / 400.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.01382, allocations: 157 kB / 400.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.01389, allocations: 154.6 kB / 401.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.01399, allocations: 102.1 kB / 401.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.01407, allocations: 338.8 kB / 401.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.01428, allocations: 216.9 kB / 401.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.01453, allocations: 281.7 kB / 402 MB, free: 10.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.015, allocations: 0.4943 MB / 402.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.015, allocations: 0 / 402.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009293/0.01593, allocations: 0.7878 MB / 403.3 MB, free: 9.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.01594, allocations: 8 kB / 403.3 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.01595, allocations: 0 / 403.3 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000649/0.0166, allocations: 301.4 kB / 403.6 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.01678, allocations: 83.89 kB / 403.7 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/0.0195, allocations: 3.67 MB / 407.3 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.01964, allocations: 40.03 kB / 407.4 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.01967, allocations: 27.98 kB / 407.4 MB, free: 5.094 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,88.9%), (3,3,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.01979, allocations: 157.7 kB / 407.6 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.01983, allocations: 27.81 kB / 407.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.02103, allocations: 0.7444 MB / 408.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.02104, allocations: 4 kB / 408.3 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.02104, allocations: 4 kB / 408.3 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.02105, allocations: 3.984 kB / 408.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.02136, allocations: 420.8 kB / 408.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02136, allocations: 0 / 408.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.02148, allocations: 59.91 kB / 408.8 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005862/0.02206, allocations: 305.4 kB / 409.1 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.02208, allocations: 7.938 kB / 409.1 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1393/0.1614, allocations: 3.659 MB / 412.8 MB, free: 32.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1614, allocations: 0 / 412.8 MB, free: 32.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.1626, allocations: 0.7723 MB / 413.5 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.1626, allocations: 32.11 kB / 413.6 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.1627, allocations: 10.47 kB / 413.6 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1628, allocations: 9.953 kB / 413.6 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.1629, allocations: 45.56 kB / 413.6 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.1629, allocations: 10.2 kB / 413.6 MB, free: 32.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.163, allocations: 160.3 kB / 413.8 MB, free: 32.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.163, allocations: 0 / 413.8 MB, free: 32.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004243/0.1634, allocations: 134 kB / 413.9 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: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,88.9%), (3,3,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/0.1647, allocations: 1.329 MB / 415.3 MB, free: 31.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.1662, allocations: 0.8434 MB / 416.1 MB, free: 31.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1662, allocations: 0 / 416.1 MB, free: 31.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007411/0.1669, allocations: 0.5774 MB / 416.7 MB, free: 31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.1671, allocations: 20.41 kB / 416.7 MB, free: 30.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/0.1715, allocations: 3.837 MB / 420.5 MB, free: 28.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.1716, allocations: 169.7 kB / 420.7 MB, free: 28.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.1718, allocations: 52.59 kB / 420.8 MB, free: 28.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1719, allocations: 97.41 kB / 420.9 MB, free: 28.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.773e-06/0.1719, allocations: 0 / 420.9 MB, free: 28.51 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.1968, allocations: 9.769 MB / 430.6 MB, free: 25.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/7.53, allocations: 12.73 kB / 430.6 MB, free: 25.33 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.201582359150052] Failed to read output from testmodel.py, exit status != 0: 7.616061566397548 7.622778409 7.614541924 Calling exit ...