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.0006447/0.0006447, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008878/0.001533, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009411/0.0009411, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00121/0.002152, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9049/0.9049, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07445/0.9794, allocations: 53.65 MB / 243.4 MB, free: 15.5 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.1195/0.1195, allocations: 29.43 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1433/0.2628, allocations: 9.525 MB / 283.1 MB, free: 12.82 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.303e-06/1.303e-06, allocations: 3.938 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.157e-06/1.046e-05, allocations: 3.531 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005765/0.005776, allocations: 4.821 MB / 289.2 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.00779, allocations: 1.187 MB / 290.4 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.008014, allocations: 26.03 kB / 290.5 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.008288, allocations: 92.42 kB / 290.6 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006137/0.008902, allocations: 308.7 kB / 290.9 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.00924, allocations: 155.5 kB / 291 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008013/0.01004, allocations: 0.7429 MB / 291.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.01028, allocations: 126.2 kB / 291.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007784/0.01106, allocations: 0.4883 MB / 292.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004738/0.01153, allocations: 300 kB / 292.7 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.566e-05/0.01161, allocations: 39.69 kB / 292.7 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.01171, allocations: 40.66 kB / 292.7 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.01192, allocations: 190.3 kB / 292.9 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.01213, allocations: 148.3 kB / 293.1 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.0126, allocations: 371.1 kB / 293.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.01261, allocations: 0 / 293.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01261, allocations: 0 / 293.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.01263, allocations: 0 / 293.4 MB, free: 5.426 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.001222/0.01385, allocations: 0.8199 MB / 294.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.01388, allocations: 12.03 kB / 294.3 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.014, allocations: 60.89 kB / 294.3 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.0145, allocations: 341.3 kB / 294.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.01454, allocations: 29.38 kB / 294.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.0146, allocations: 36.31 kB / 294.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/0.01535, allocations: 375.8 kB / 295.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.01537, allocations: 7.938 kB / 295.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.0154, allocations: 16 kB / 295.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.726e-05/0.01548, allocations: 24.62 kB / 295.1 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.01578, allocations: 154 kB / 295.3 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.01733, allocations: 1.207 MB / 296.5 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.01773, allocations: 257.2 kB / 296.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.01803, allocations: 168.7 kB / 296.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.01806, allocations: 8.234 kB / 296.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/0.01838, allocations: 248.4 kB / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.834e-06/0.01838, allocations: 0 / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001014/0.01939, allocations: 0.5312 MB / 297.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.01947, allocations: 199.9 kB / 297.9 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.01973, allocations: 319.2 kB / 298.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.01976, allocations: 33.7 kB / 298.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.01988, allocations: 225.4 kB / 298.4 MB, free: 308 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.652e-05/0.01997, allocations: 111.1 kB / 298.5 MB, free: 196 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.02008, allocations: 78.14 kB / 298.6 MB, free: 112 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.0202, allocations: 358.7 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.02031, allocations: 73.5 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.02048, allocations: 204 kB / 299.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.02079, allocations: 306.2 kB / 299.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.0208, allocations: 4 kB / 299.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005005/0.0213, allocations: 338.3 kB / 299.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.02133, allocations: 35.27 kB / 299.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.02134, allocations: 4.422 kB / 299.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/0.02157, allocations: 71.25 kB / 300 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.02184, allocations: 83.89 kB / 300.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.02359, allocations: 2.391 MB / 302.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.02381, allocations: 35.78 kB / 302.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.02383, allocations: 12 kB / 302.5 MB, free: 11.86 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.0001897/0.02402, allocations: 186.3 kB / 302.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.02409, allocations: 35.97 kB / 302.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.02456, allocations: 316.5 kB / 303 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.02456, allocations: 4 kB / 303 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.02457, allocations: 4 kB / 303 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.02457, allocations: 7.922 kB / 303 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.02527, allocations: 0.629 MB / 303.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.02527, allocations: 3.938 kB / 303.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.02538, allocations: 47.92 kB / 303.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.02541, allocations: 39.66 kB / 303.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.02555, allocations: 63.31 kB / 303.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.02557, allocations: 11.98 kB / 303.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009324/0.0265, allocations: 2.412 MB / 306.3 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.02651, allocations: 4.25 kB / 306.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.0269, allocations: 0.5426 MB / 306.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.02694, allocations: 12 kB / 306.8 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.02704, allocations: 11.98 kB / 306.8 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.02709, allocations: 35.94 kB / 306.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.02711, allocations: 4 kB / 306.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.127e-05/0.02719, allocations: 132.7 kB / 307 MB, free: 7.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02719, allocations: 0 / 307 MB, free: 7.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.02743, allocations: 135.7 kB / 307.1 MB, free: 6.898 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.471e-05/0.02752, allocations: 96.38 kB / 307.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.02792, allocations: 0.5453 MB / 307.8 MB, free: 6.195 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.02793, allocations: 4 kB / 307.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.02821, allocations: 452.1 kB / 308.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006799/0.02889, allocations: 0.7305 MB / 308.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.0336, allocations: 0.904 MB / 309.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.773e-05/0.03369, allocations: 145.7 kB / 310 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.03379, allocations: 43.34 kB / 310 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.03395, allocations: 139.3 kB / 310.2 MB, free: 3.555 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.03395, allocations: 0 / 310.2 MB, free: 3.555 MB / 298.7 MB Notification: Performance of Templates: time 0.007183/0.04114, allocations: 6.126 MB / 316.3 MB, free: 13.55 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.6611083215102553]