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.0007142/0.0007142, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001735, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009815/0.0009815, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002341, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9819/0.9819, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07807/1.06, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.1292/0.1292, allocations: 29.43 MB / 273.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1185/0.2477, allocations: 9.52 MB / 282.9 MB, free: 12.84 MB / 282.7 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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 284.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.797e-06/1.018e-05, allocations: 2.312 kB / 284.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.004339/0.004349, allocations: 4.796 MB / 289 MB, free: 8.141 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.005842, allocations: 1.188 MB / 290.2 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.006021, allocations: 22.06 kB / 290.2 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.006235, allocations: 96.16 kB / 290.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004631/0.006698, allocations: 325.1 kB / 290.6 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.006955, allocations: 148 kB / 290.8 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.007531, allocations: 0.738 MB / 291.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.007713, allocations: 126.2 kB / 291.6 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005552/0.008268, allocations: 0.4925 MB / 292.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.008615, allocations: 304 kB / 292.4 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.008668, allocations: 39.41 kB / 292.5 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.338e-05/0.008731, allocations: 40.31 kB / 292.5 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.008889, allocations: 187.4 kB / 292.7 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.009038, allocations: 143.5 kB / 292.8 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.009393, allocations: 371.1 kB / 293.2 MB, free: 5.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.009405, allocations: 4 kB / 293.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.009406, allocations: 0 / 293.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.009419, allocations: 2 kB / 293.2 MB, free: 5.5 MB / 282.7 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.0009201/0.01034, allocations: 0.8167 MB / 294 MB, free: 4.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.01037, allocations: 8.312 kB / 294 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.01045, allocations: 63.42 kB / 294.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.01079, allocations: 337.3 kB / 294.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.01081, allocations: 33.36 kB / 294.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.01085, allocations: 32.38 kB / 294.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.01119, allocations: 379.8 kB / 294.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.0112, allocations: 0 / 294.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.01123, allocations: 16 kB / 294.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.207e-05/0.01129, allocations: 20.64 kB / 294.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.01147, allocations: 162 kB / 295 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.0128, allocations: 1.207 MB / 296.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.01308, allocations: 264.2 kB / 296.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.01328, allocations: 159.6 kB / 296.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.0133, allocations: 12.23 kB / 296.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.01353, allocations: 248.4 kB / 296.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.263e-06/0.01353, allocations: 0 / 296.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.000669/0.0142, allocations: 0.5116 MB / 297.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.01425, allocations: 144.5 kB / 297.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.01442, allocations: 319.4 kB / 297.9 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.01445, allocations: 41.7 kB / 297.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.01453, allocations: 221.4 kB / 298.1 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.01459, allocations: 111.1 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.01466, allocations: 78.16 kB / 298.3 MB, free: 324 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.01476, allocations: 358.6 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.01482, allocations: 77.5 kB / 298.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.01493, allocations: 188.1 kB / 298.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.01513, allocations: 310.1 kB / 299.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01514, allocations: 0 / 299.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003051/0.01544, allocations: 338.5 kB / 299.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.01547, allocations: 33.7 kB / 299.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01548, allocations: 4 kB / 299.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/0.01564, allocations: 55.78 kB / 299.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.01581, allocations: 91.77 kB / 299.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.0169, allocations: 2.391 MB / 302.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.01703, allocations: 35.78 kB / 302.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.01704, allocations: 12 kB / 302.2 MB, free: 12.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (53): * Single equations (assignments): 50 * 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.000134/0.01718, allocations: 190.2 kB / 302.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.01722, allocations: 39.95 kB / 302.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/0.01776, allocations: 316.6 kB / 302.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01776, allocations: 4 kB / 302.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01777, allocations: 7.984 kB / 302.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01777, allocations: 3.938 kB / 302.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.01832, allocations: 0.6212 MB / 303.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01832, allocations: 3.938 kB / 303.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.01843, allocations: 43.92 kB / 303.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.01847, allocations: 47.62 kB / 303.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.01861, allocations: 67.31 kB / 303.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.01863, allocations: 11.98 kB / 303.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009716/0.0196, allocations: 2.412 MB / 305.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01961, allocations: 0 / 305.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.02001, allocations: 0.5384 MB / 306.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.02005, allocations: 12.2 kB / 306.5 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.02014, allocations: 16 kB / 306.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.0202, allocations: 31.94 kB / 306.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.02022, allocations: 8 kB / 306.5 MB, free: 7.383 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.449e-05/0.0203, allocations: 128.7 kB / 306.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0203, allocations: 0 / 306.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.02057, allocations: 139.7 kB / 306.8 MB, free: 7.121 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 28 * 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 8.951e-05/0.02066, allocations: 100.3 kB / 306.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004308/0.02109, allocations: 0.5247 MB / 307.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.0211, allocations: 8 kB / 307.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.02137, allocations: 444 kB / 307.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.02168, allocations: 136.1 kB / 308 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.02654, allocations: 0.9019 MB / 308.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.668e-05/0.02663, allocations: 145.7 kB / 309 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.02674, allocations: 47.42 kB / 309.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.02691, allocations: 135.3 kB / 309.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02691, allocations: 4 kB / 309.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of Templates: time 0.007911/0.03482, allocations: 6.145 MB / 315.4 MB, free: 14.5 MB / 314.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7217456279322505]