Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.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.001514/0.001514, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001594/0.001594, allocations: 169.7 kB / 24.5 MB, free: 3.453 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.455/1.455, allocations: 177.2 MB / 204.9 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1806/0.1806, allocations: 29.42 MB / 290.7 MB, free: 3.305 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 67.84 kB / 431.2 MB, free: 3.246 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3999, allocations: 62.44 MB / 493.6 MB, free: 37.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005648/0.4056, allocations: 5.129 MB / 498.8 MB, free: 34.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.4075, allocations: 1.121 MB / 499.9 MB, free: 33.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.4077, allocations: 21.66 kB / 499.9 MB, free: 33.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.4081, allocations: 98.17 kB / 0.4883 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006276/0.4087, allocations: 317.6 kB / 0.4886 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.409, allocations: 154.7 kB / 0.4887 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.4096, allocations: 0.7204 MB / 0.4894 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.4098, allocations: 125.1 kB / 0.4896 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004214/0.4102, allocations: 335.5 kB / 0.4899 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004772/0.4107, allocations: 375.1 kB / 0.4902 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.888e-05/0.4108, allocations: 45 kB / 0.4903 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.56e-05/0.4109, allocations: 45.25 kB / 0.4903 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.411, allocations: 196 kB / 0.4905 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.4112, allocations: 219.2 kB / 0.4907 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005175/0.4118, allocations: 0.5533 MB / 0.4913 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4118, allocations: 0 / 0.4913 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4118, allocations: 3.938 kB / 0.4913 GB, free: 32.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4118, allocations: 0 / 0.4913 GB, free: 32.23 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001329/0.4131, allocations: 0.7731 MB / 0.492 GB, free: 31.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4131, allocations: 9.625 kB / 0.492 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.444e-05/0.4132, allocations: 60.5 kB / 0.4921 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.4138, allocations: 381.3 kB / 0.4924 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.4138, allocations: 32.53 kB / 0.4925 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.4139, allocations: 41.34 kB / 0.4925 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/0.4145, allocations: 0.5022 MB / 0.493 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.4145, allocations: 0 / 0.493 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.4146, allocations: 21.92 kB / 0.493 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.867e-05/0.4147, allocations: 31.19 kB / 0.4931 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.4152, allocations: 391.6 kB / 0.4934 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.417, allocations: 1.527 MB / 0.4949 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005744/0.4175, allocations: 349 kB / 0.4953 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.4179, allocations: 215.8 kB / 0.4955 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.4179, allocations: 10.38 kB / 0.4955 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003701/0.4183, allocations: 316.8 kB / 0.4958 GB, free: 29.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.844e-06/0.4183, allocations: 0 / 0.4958 GB, free: 29.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.001966/0.4203, allocations: 1.256 MB / 0.497 GB, free: 28.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.4203, allocations: 144.8 kB / 0.4971 GB, free: 28.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.4206, allocations: 381.2 kB / 0.4975 GB, free: 28.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4207, allocations: 32.8 kB / 0.4975 GB, free: 28.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.4208, allocations: 260.8 kB / 0.4978 GB, free: 28.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.4208, allocations: 117.5 kB / 0.4979 GB, free: 27.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.58e-05/0.4209, allocations: 77.95 kB / 0.498 GB, free: 27.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.421, allocations: 356.9 kB / 0.4983 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.4212, allocations: 157.1 kB / 0.4985 GB, free: 27.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.4214, allocations: 281 kB / 0.4987 GB, free: 27.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.4219, allocations: 441.5 kB / 0.4992 GB, free: 26.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4219, allocations: 0 / 0.4992 GB, free: 26.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006839/0.4225, allocations: 0.567 MB / 0.4997 GB, free: 26.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.4226, allocations: 37.14 kB / 0.4997 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4226, allocations: 9.938 kB / 0.4997 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/0.4228, allocations: 89.17 kB / 0.4998 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.4231, allocations: 72.7 kB / 0.4999 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.4246, allocations: 2.732 MB / 0.5026 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.4248, allocations: 24.98 kB / 0.5026 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.4249, allocations: 23.47 kB / 0.5026 GB, free: 24 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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 {(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.00023/0.4251, allocations: 245.4 kB / 0.5029 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.4252, allocations: 53.08 kB / 0.5029 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007308/0.4259, allocations: 0.5348 MB / 0.5034 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4259, allocations: 3.219 kB / 0.5034 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.4259, allocations: 4 kB / 0.5034 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4259, allocations: 3.344 kB / 0.5034 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.4272, allocations: 0.9579 MB / 0.5044 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4272, allocations: 0 / 0.5044 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.4273, allocations: 36.06 kB / 0.5044 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002329/0.4276, allocations: 93.58 kB / 0.5045 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.4276, allocations: 10.52 kB / 0.5045 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.4292, allocations: 2.752 MB / 0.5072 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4292, allocations: 7.594 kB / 0.5072 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.4302, allocations: 0.8442 MB / 0.508 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/0.4303, allocations: 39.78 kB / 0.5081 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.4304, allocations: 17.88 kB / 0.5081 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.4306, allocations: 16.97 kB / 0.5081 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4307, allocations: 33.42 kB / 0.5081 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.4307, allocations: 13.72 kB / 0.5081 GB, free: 19.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.431, allocations: 263.6 kB / 0.5084 GB, free: 19.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.431, allocations: 0 / 0.5084 GB, free: 19.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005476/0.4315, allocations: 110.1 kB / 0.5085 GB, free: 19.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * 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 {(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.0001124/0.4316, allocations: 117.6 kB / 0.5086 GB, free: 19.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007941/0.4324, allocations: 0.6753 MB / 0.5093 GB, free: 19.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4324, allocations: 0 / 0.5093 GB, free: 19.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.4329, allocations: 0.5015 MB / 0.5098 GB, free: 18.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.4335, allocations: 106.9 kB / 0.5099 GB, free: 18.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.435, allocations: 1.023 MB / 0.5109 GB, free: 18.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.4352, allocations: 265.9 kB / 0.5111 GB, free: 17.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.4354, allocations: 72.03 kB / 0.5112 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.999e-05/0.4355, allocations: 39.95 kB / 0.5112 GB, free: 17.93 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4355, allocations: 0 / 0.5112 GB, free: 17.93 MB / 446.1 MB Notification: Performance of Templates: time 0.01064/0.4462, allocations: 5.575 MB / 0.5167 GB, free: 17.29 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.182018407969736] Failed to read output from testmodel.py, exit status != 0: 0.454998784000054 0.46737186399999997 0.052687221000000006 Calling exit ...