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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 97.08 kB / 16.31 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 184.5 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1706/0.1706, allocations: 38.05 MB / 309.7 MB, free: 6.125 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005185, allocations: 23.98 kB / 376.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2962, allocations: 56.32 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.004145/0.3004, allocations: 5.066 MB / 437.9 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.302, allocations: 1.354 MB / 439.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.3022, allocations: 23.81 kB / 439.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.3025, allocations: 91.41 kB / 439.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004691/0.3029, allocations: 259.2 kB / 439.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.3032, allocations: 151.6 kB / 439.7 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.3035, allocations: 383.2 kB / 440.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.3038, allocations: 135.2 kB / 440.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.304, allocations: 231.1 kB / 440.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.3043, allocations: 247.2 kB / 440.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.3044, allocations: 20 kB / 440.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.847e-05/0.3045, allocations: 20 kB / 440.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.3046, allocations: 159.6 kB / 440.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.3047, allocations: 121.4 kB / 441 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.305, allocations: 406.9 kB / 441.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.305, allocations: 0 / 441.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.305, allocations: 0 / 441.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.305, allocations: 0 / 441.4 MB, free: 10.2 MB / 318.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.001078/0.3061, allocations: 0.7607 MB / 442.2 MB, free: 9.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.3061, allocations: 8.031 kB / 442.2 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.945e-05/0.3062, allocations: 63.28 kB / 442.3 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.3067, allocations: 419.4 kB / 442.7 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.3068, allocations: 29 kB / 442.7 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.3068, allocations: 32 kB / 442.7 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.3074, allocations: 486.5 kB / 443.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3074, allocations: 0 / 443.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.3074, allocations: 16 kB / 443.2 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.544e-05/0.3075, allocations: 32.58 kB / 443.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.308, allocations: 362.6 kB / 443.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.3097, allocations: 1.719 MB / 445.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.3102, allocations: 406.3 kB / 445.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3102, allocations: 4.062 kB / 445.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.3105, allocations: 287.5 kB / 446 MB, free: 5.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.3106, allocations: 0 / 446 MB, free: 5.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.001783/0.3123, allocations: 1.491 MB / 447.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3124, allocations: 140.5 kB / 447.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.3127, allocations: 369.6 kB / 448 MB, free: 3.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.3127, allocations: 33.7 kB / 448 MB, free: 3.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3128, allocations: 264 kB / 448.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.3129, allocations: 110.4 kB / 448.4 MB, free: 2.773 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.3129, allocations: 12 kB / 448.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.905e-05/0.313, allocations: 354.7 kB / 448.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.3132, allocations: 133 kB / 448.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.3134, allocations: 256.1 kB / 449.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.3136, allocations: 177.4 kB / 449.3 MB, free: 1.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3136, allocations: 4 kB / 449.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006363/0.3142, allocations: 0.5385 MB / 449.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.3143, allocations: 37.69 kB / 449.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3143, allocations: 8 kB / 449.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.3145, allocations: 82.14 kB / 450 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.3148, allocations: 67.84 kB / 450 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.3166, allocations: 2.814 MB / 452.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.3169, allocations: 32.06 kB / 452.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.317, allocations: 20 kB / 452.9 MB, free: 13.9 MB / 334.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,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening,$whenCondition1,$PRE.relay.cnt,relay.cnt) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002495/0.3172, allocations: 231.4 kB / 453.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.3173, allocations: 39.53 kB / 453.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008041/0.3181, allocations: 0.5083 MB / 453.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3181, allocations: 4 kB / 453.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.3181, allocations: 0 / 453.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3181, allocations: 7.953 kB / 453.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.3195, allocations: 1.056 MB / 454.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3196, allocations: 3.984 kB / 454.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.3197, allocations: 39.92 kB / 454.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002351/0.32, allocations: 97.47 kB / 454.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.32, allocations: 11.98 kB / 454.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.3221, allocations: 2.814 MB / 457.7 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3221, allocations: 4.031 kB / 457.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3232, allocations: 0.8066 MB / 458.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3233, allocations: 108.7 kB / 458.6 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/0.3233, allocations: 23.94 kB / 458.6 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.3236, allocations: 20.05 kB / 458.7 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/0.3237, allocations: 31.95 kB / 458.7 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.3237, allocations: 19.98 kB / 458.7 MB, free: 7.633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002347/0.324, allocations: 251.2 kB / 459 MB, free: 7.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.324, allocations: 0 / 459 MB, free: 7.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004639/0.3244, allocations: 116 kB / 459.1 MB, free: 7.277 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001547/0.3246, allocations: 123.2 kB / 459.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008997/0.3255, allocations: 0.6449 MB / 459.8 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3255, allocations: 0.9375 kB / 459.8 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006444/0.3262, allocations: 0.4932 MB / 460.3 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.3266, allocations: 81.95 kB / 460.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.3283, allocations: 1.201 MB / 461.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.3287, allocations: 0.8898 MB / 462.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.329, allocations: 63.36 kB / 462.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.377e-05/0.3291, allocations: 35.42 kB / 462.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3291, allocations: 0 / 462.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of Templates: time 0.01022/0.3393, allocations: 4.822 MB / 467.4 MB, free: 14.81 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) Environment - environmentSimulation: