Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 117.7 kB / 17.7 MB, free: 5.305 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.001059/0.001059, allocations: 191 kB / 18.63 MB, free: 4.375 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.571/1.571, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1801/0.1801, allocations: 37.97 MB / 309.8 MB, free: 5.98 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.001451/0.001451, allocations: 67.91 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2393, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.006046/0.2453, allocations: 6.214 MB / 438.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.2483, allocations: 2.123 MB / 440.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004519/0.2488, allocations: 19.94 kB / 440.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.25, allocations: 0.521 MB / 440.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.2511, allocations: 0.4898 MB / 441.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.2517, allocations: 355.3 kB / 441.7 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000737/0.2525, allocations: 1.08 MB / 442.8 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/0.2529, allocations: 0.4982 MB / 443.3 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003679/0.2533, allocations: 454.3 kB / 443.8 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000499/0.2538, allocations: 0.5606 MB / 444.3 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.505e-05/0.2539, allocations: 88 kB / 444.4 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005686/0.2545, allocations: 0.4954 MB / 444.9 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.2548, allocations: 395 kB / 445.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.2551, allocations: 477.7 kB / 445.8 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.2561, allocations: 1.223 MB / 447 MB, free: 4.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2561, allocations: 0 / 447 MB, free: 4.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2562, allocations: 0 / 447 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.2562, allocations: 0 / 447 MB, free: 4.492 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002158/0.2583, allocations: 1.237 MB / 448.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2584, allocations: 19.83 kB / 448.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005892/0.259, allocations: 127.8 kB / 448.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.2598, allocations: 0.5735 MB / 448.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.2599, allocations: 62.36 kB / 449 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.26, allocations: 92.02 kB / 449.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.2612, allocations: 1.084 MB / 450.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.2612, allocations: 11.88 kB / 450.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.2613, allocations: 32 kB / 450.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.2614, allocations: 41.98 kB / 450.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.2626, allocations: 0.9406 MB / 451.2 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004713/0.2673, allocations: 4.192 MB / 455.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.2685, allocations: 0.9377 MB / 456.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.2691, allocations: 455.3 kB / 456.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.474e-05/0.2691, allocations: 12.55 kB / 456.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009062/0.27, allocations: 0.6396 MB / 457.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.414e-06/0.2701, allocations: 0 / 457.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.004369/0.2744, allocations: 2.904 MB / 460.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.2746, allocations: 153.5 kB / 460.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005588/0.2751, allocations: 473.8 kB / 460.9 MB, free: 5.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.2752, allocations: 49.7 kB / 461 MB, free: 5.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.2755, allocations: 387.5 kB / 461.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.2757, allocations: 276.2 kB / 461.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.276, allocations: 178.9 kB / 461.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2762, allocations: 386.8 kB / 462.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/0.2768, allocations: 390.4 kB / 462.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/0.2775, allocations: 0.6246 MB / 463.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.2789, allocations: 1.079 MB / 464.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2789, allocations: 0 / 464.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00276/0.2816, allocations: 1.521 MB / 465.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.2817, allocations: 41.62 kB / 465.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002178/0.2839, allocations: 1.159 MB / 467 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.2851, allocations: 436.8 kB / 467.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.2856, allocations: 119.8 kB / 467.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007072/0.2926, allocations: 5.175 MB / 472.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/0.2933, allocations: 55.95 kB / 472.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/0.2933, allocations: 43.98 kB / 472.8 MB, free: 9.645 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,relay.cnt,$PRE.relay.cnt,$whenCondition1,relay.y[3],$PRE.relay.y[3],relay.y[2],$PRE.relay.y[2],relay.y[1],$PRE.relay.y[1],breaker.breaker_c.opening,breaker.breaker_c.t0,$PRE.breaker.breaker_c.t0,breaker.breaker_c.closed,breaker.breaker_c.open,$PRE.breaker.breaker_c.open,breaker.breaker_c.arc,$PRE.breaker.breaker_c.arc,breaker.breaker_b.opening,breaker.breaker_b.t0,$PRE.breaker.breaker_b.t0,breaker.breaker_b.closed,breaker.breaker_b.open,$PRE.breaker.breaker_b.open,breaker.breaker_b.arc,$PRE.breaker.breaker_b.arc,breaker.breaker_a.opening,breaker.breaker_a.t0,$PRE.breaker.breaker_a.t0,breaker.breaker_a.closed,breaker.breaker_a.open,$PRE.breaker.breaker_a.open,breaker.breaker_a.arc,$PRE.breaker.breaker_a.arc,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0004544/0.2938, allocations: 343.1 kB / 473.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.2939, allocations: 71.09 kB / 473.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.2957, allocations: 1.13 MB / 474.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.2957, allocations: 12 kB / 474.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2957, allocations: 4 kB / 474.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.2957, allocations: 3.984 kB / 474.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.2989, allocations: 2.154 MB / 476.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.299, allocations: 0 / 476.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.2995, allocations: 123.7 kB / 476.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/0.2997, allocations: 90.55 kB / 476.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.2998, allocations: 19.98 kB / 476.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/0.3025, allocations: 4.214 MB / 481 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3025, allocations: 4.031 kB / 481 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.3049, allocations: 1.769 MB / 482.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3051, allocations: 136.4 kB / 482.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3052, allocations: 24 kB / 482.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.3056, allocations: 47.94 kB / 482.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.3058, allocations: 84.83 kB / 483 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.3059, allocations: 27.98 kB / 483 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00038/0.3063, allocations: 327.1 kB / 483.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3063, allocations: 0 / 483.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008823/0.3072, allocations: 256 kB / 483.6 MB, free: 14.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_a.closed,breaker.breaker_b.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_b.open,breaker.breaker_a.open,breaker.breaker_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (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.000259/0.3075, allocations: 149.8 kB / 483.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.3097, allocations: 1.373 MB / 485.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3097, allocations: 0 / 485.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.3108, allocations: 0.9393 MB / 486.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.3114, allocations: 133.7 kB / 486.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.3142, allocations: 1.801 MB / 488 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.3148, allocations: 1.033 MB / 489 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004665/0.3153, allocations: 189.8 kB / 489.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.3155, allocations: 67.42 kB / 489.3 MB, free: 8.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3155, allocations: 0 / 489.3 MB, free: 8.41 MB / 366.1 MB Notification: Performance of Templates: time 0.02194/0.3374, allocations: 12.33 MB / 0.4899 GB, free: 12.1 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1)