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.001033/0.001033, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001264/0.001264, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2764/0.2764, allocations: 29.41 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.874e-06/1.874e-06, allocations: 0 / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.844e-05, allocations: 4.422 kB / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.004922/0.00495, allocations: 4.733 MB / 321.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.007068, allocations: 1.177 MB / 322.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.007389, allocations: 23.81 kB / 322.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.007741, allocations: 87.25 kB / 322.8 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008668/0.008608, allocations: 322.1 kB / 323.2 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.009006, allocations: 151.6 kB / 323.3 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008352/0.009841, allocations: 0.7473 MB / 324.1 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.01011, allocations: 133.9 kB / 324.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009157/0.01103, allocations: 478.8 kB / 324.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.01154, allocations: 299.1 kB / 325 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.0116, allocations: 40 kB / 325 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-05/0.01168, allocations: 40 kB / 325 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.01189, allocations: 219.4 kB / 325.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.01206, allocations: 179.6 kB / 325.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.01255, allocations: 398.6 kB / 325.8 MB, free: 6.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.01256, allocations: 0 / 325.8 MB, free: 6.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01256, allocations: 4 kB / 325.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.01257, allocations: 0 / 325.8 MB, free: 6.977 MB / 298.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.001167/0.01374, allocations: 0.7064 MB / 326.5 MB, free: 6.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.01379, allocations: 8.031 kB / 326.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.01395, allocations: 72.86 kB / 326.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.01454, allocations: 329.3 kB / 326.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.01459, allocations: 37.36 kB / 327 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.01466, allocations: 40.38 kB / 327 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.01517, allocations: 371.8 kB / 327.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.01518, allocations: 0 / 327.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.01522, allocations: 23.98 kB / 327.4 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.01532, allocations: 12.66 kB / 327.4 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.01555, allocations: 165.9 kB / 327.6 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.01705, allocations: 1.195 MB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.01743, allocations: 256.5 kB / 329 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.01764, allocations: 167.6 kB / 329.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.01766, allocations: 8.234 kB / 329.2 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.01792, allocations: 256.4 kB / 329.4 MB, free: 3.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.01792, allocations: 0 / 329.4 MB, free: 3.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007665/0.01868, allocations: 0.5088 MB / 329.9 MB, free: 2.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.01875, allocations: 136.5 kB / 330.1 MB, free: 2.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.01895, allocations: 323.2 kB / 330.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.01898, allocations: 29.83 kB / 330.4 MB, free: 2.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01908, allocations: 225.5 kB / 330.6 MB, free: 1.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.704e-05/0.01915, allocations: 119 kB / 330.7 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.01924, allocations: 78.16 kB / 330.8 MB, free: 1.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.01934, allocations: 362.6 kB / 331.2 MB, free: 1.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.401e-05/0.01941, allocations: 69.5 kB / 331.2 MB, free: 1.191 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.01953, allocations: 196.1 kB / 331.4 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.01976, allocations: 294.2 kB / 331.7 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.01976, allocations: 4 kB / 331.7 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003565/0.02012, allocations: 342.2 kB / 332.1 MB, free: 232 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.02015, allocations: 33.7 kB / 332.1 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.02016, allocations: 4 kB / 332.1 MB, free: 188 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/0.02037, allocations: 63.78 kB / 332.2 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.02053, allocations: 71.89 kB / 332.2 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.02188, allocations: 2.387 MB / 334.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.02205, allocations: 35.83 kB / 334.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.02207, allocations: 16 kB / 334.7 MB, free: 13.41 MB / 314.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.0001717/0.02224, allocations: 186.2 kB / 334.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.02229, allocations: 40.06 kB / 334.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.02262, allocations: 312.7 kB / 335.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.02262, allocations: 4 kB / 335.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.02262, allocations: 4 kB / 335.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.02263, allocations: 3.938 kB / 335.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.02327, allocations: 0.6135 MB / 335.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.02327, allocations: 3.938 kB / 335.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.832e-05/0.02337, allocations: 39.92 kB / 335.9 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001728/0.02354, allocations: 67.3 kB / 335.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.02356, allocations: 11.98 kB / 335.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.02481, allocations: 2.393 MB / 338.3 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.02481, allocations: 7.922 kB / 338.3 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.02529, allocations: 0.5379 MB / 338.9 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.02534, allocations: 43.62 kB / 338.9 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.02538, allocations: 16 kB / 338.9 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.02549, allocations: 16.08 kB / 339 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.02556, allocations: 39.88 kB / 339 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.02558, allocations: 8 kB / 339 MB, free: 8.738 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.723e-05/0.02568, allocations: 128.7 kB / 339.1 MB, free: 8.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02568, allocations: 0 / 339.1 MB, free: 8.609 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004942/0.02617, allocations: 131.8 kB / 339.3 MB, free: 8.48 MB / 314.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 0.0001242/0.0263, allocations: 92.36 kB / 339.3 MB, free: 8.379 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.02683, allocations: 0.5402 MB / 339.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.02684, allocations: 4 kB / 339.9 MB, free: 7.781 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.02716, allocations: 432 kB / 340.3 MB, free: 7.312 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.0275, allocations: 106.7 kB / 340.4 MB, free: 7.211 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.02883, allocations: 0.8826 MB / 341.3 MB, free: 6.289 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.612e-05/0.02893, allocations: 141.7 kB / 341.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.02906, allocations: 51.33 kB / 341.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.02923, allocations: 131.3 kB / 341.6 MB, free: 5.949 MB / 314.7 MB Notification: Performance of SimCode: time 1.253e-06/0.02923, allocations: 0 / 341.6 MB, free: 5.949 MB / 314.7 MB Notification: Performance of Templates: time 0.009041/0.03827, allocations: 6.055 MB / 347.7 MB, free: 20 kB / 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: 3.2123103318735957]