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.0014/0.0014, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001164/0.001164, allocations: 170.6 kB / 24.82 MB, free: 9.27 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 1.106/1.106, allocations: 177.2 MB / 205.3 MB, free: 5.504 MB / 186.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.2457/0.2457, allocations: 29.42 MB / 291.2 MB, free: 2.48 MB / 266.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.844e-06/1.844e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.968e-05, allocations: 2.312 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.007734/0.007763, allocations: 4.717 MB / 374.8 MB, free: 5.996 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.009985, allocations: 1.153 MB / 376 MB, free: 4.84 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.01024, allocations: 23.75 kB / 376 MB, free: 4.816 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.01056, allocations: 83.31 kB / 376.1 MB, free: 4.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.01108, allocations: 322.1 kB / 376.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.01131, allocations: 155.5 kB / 376.5 MB, free: 4.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.01184, allocations: 0.7435 MB / 377.3 MB, free: 3.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.01203, allocations: 121.3 kB / 377.4 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004802/0.01251, allocations: 466.7 kB / 377.9 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.01284, allocations: 323.1 kB / 378.2 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.01289, allocations: 40 kB / 378.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.685e-05/0.01295, allocations: 40 kB / 378.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.0131, allocations: 219.4 kB / 378.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.01324, allocations: 175.6 kB / 378.6 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.01358, allocations: 402.5 kB / 379 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.01358, allocations: 0 / 379 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01358, allocations: 0 / 379 MB, free: 1.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.01359, allocations: 0 / 379 MB, free: 1.766 MB / 346.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.0008781/0.01447, allocations: 0.847 MB / 379.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.0145, allocations: 8.031 kB / 379.9 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.01459, allocations: 80.61 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.01494, allocations: 366.7 kB / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.01497, allocations: 29.38 kB / 380.4 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.01501, allocations: 40.36 kB / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.01537, allocations: 383.7 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.01538, allocations: 4 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.0154, allocations: 16 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-05/0.01546, allocations: 16.66 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.01565, allocations: 171 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.01689, allocations: 1.665 MB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.01717, allocations: 236.3 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.01738, allocations: 173.3 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.0174, allocations: 8.172 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.01764, allocations: 264.7 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.01764, allocations: 0 / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001042/0.01868, allocations: 0.8156 MB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.01874, allocations: 140.5 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.01896, allocations: 386.5 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.01898, allocations: 37.7 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.01913, allocations: 311.2 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.0192, allocations: 115.1 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.293e-05/0.01929, allocations: 95.89 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.01945, allocations: 0.539 MB / 385.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.01953, allocations: 74.61 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.01969, allocations: 249.2 kB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.01994, allocations: 357.2 kB / 386.4 MB, free: 9.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01994, allocations: 3.938 kB / 386.4 MB, free: 9.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003913/0.02034, allocations: 411.2 kB / 386.8 MB, free: 9.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.02036, allocations: 33.7 kB / 386.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.02037, allocations: 4 kB / 386.8 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/0.02055, allocations: 75.67 kB / 386.9 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.02071, allocations: 63.91 kB / 387 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.0222, allocations: 3.45 MB / 390.4 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.02233, allocations: 16 kB / 390.4 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.02235, allocations: 12 kB / 390.4 MB, free: 5.492 MB / 362.7 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.0001581/0.0225, allocations: 226 kB / 390.7 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.02255, allocations: 51.77 kB / 390.7 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.02296, allocations: 384.2 kB / 391.1 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.02296, allocations: 12 kB / 391.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.02296, allocations: 0 / 391.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02297, allocations: 0 / 391.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000754/0.02372, allocations: 0.762 MB / 391.9 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.02372, allocations: 4 kB / 391.9 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.02383, allocations: 35.98 kB / 391.9 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/0.02399, allocations: 79.25 kB / 392 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.02401, allocations: 8 kB / 392 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.02543, allocations: 3.45 MB / 395.4 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.02543, allocations: 4 kB / 395.4 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.02606, allocations: 0.6475 MB / 396.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.0261, allocations: 39.7 kB / 396.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.02613, allocations: 12 kB / 396.1 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.02623, allocations: 15.98 kB / 396.2 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.02631, allocations: 31.94 kB / 396.2 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.02633, allocations: 12 kB / 396.2 MB, free: 15.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.02645, allocations: 251.1 kB / 396.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02645, allocations: 0 / 396.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003047/0.02676, allocations: 115.9 kB / 396.6 MB, free: 14.98 MB / 378.7 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.0001075/0.02686, allocations: 123.1 kB / 396.7 MB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004692/0.02733, allocations: 0.6515 MB / 397.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.02733, allocations: 0 / 397.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.02766, allocations: 0.5393 MB / 397.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.02802, allocations: 104.1 kB / 398 MB, free: 13.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.02934, allocations: 0.8938 MB / 398.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.583e-05/0.02943, allocations: 137.8 kB / 399 MB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.02957, allocations: 63.25 kB / 399.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.02974, allocations: 162.1 kB / 399.2 MB, free: 12.11 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02974, allocations: 0 / 399.2 MB, free: 12.11 MB / 378.7 MB Notification: Performance of Templates: time 0.00805/0.03779, allocations: 6.081 MB / 405.3 MB, free: 6.145 MB / 378.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: 3.135756999719888]