Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003629/0.0003629, allocations: 0 / 0, free: 0 / 0 " [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.0005194/0.0005194, allocations: 0 / 0, free: 0 / 0 " [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.4207/0.4207, allocations: 0 / 0, free: 0 / 0 " [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.06718/0.06718, allocations: 0 / 0, free: 0 / 0 " [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: simulate(PowerSystems.Examples.AC3ph.Transmission.FaultTline,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=40000,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline",simflags="-alarm=480 -lv LOG_STATS") simulate(PowerSystems.Examples.AC3ph.Transmission.FaultTline,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=40000,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultTline",simflags="-alarm=480 -lv LOG_STATS") [Timeout 1140] "Notification: Performance of FrontEnd - loaded program: time 9.21e-07/9.21e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.673e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.FaultTline): time 0.02072/0.02075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.011/0.03175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.03293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0041/0.03703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.004379/0.04141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.003889/0.0453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.003667/0.04897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.05127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.003931/0.0552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.0584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0005765/0.05898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.06147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.002152/0.06362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.002547/0.06617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.006949/0.07312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0005498/0.07367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.427e-06/0.07367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.8e-05/0.0737, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.01287/0.08657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001616/0.08673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006272/0.093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.006563/0.09956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.09987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/0.1015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.21e-05/0.1141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006135/0.1147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001202/0.1159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.1271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03531/0.1624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.008085/0.1705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.005514/0.176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.1762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007675/0.1839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=214): time 0.0001915/0.1841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=215): time 0.04316/0.2272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003305/0.2276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003421/0.231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0009161/0.2319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.2329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.001445/0.2344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002709/0.2371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.000384/0.2375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.005924/0.2434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.006566/0.2499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/0.2624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.524e-05/0.2625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=305) (initialization): time 0.03043/0.2929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02694/0.32, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.02065/0.3406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.3419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.101/0.4429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/0.4454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007145/0.4462, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 108 (system.initime,abc.fault_pp1.t0,$PRE.abc.fault_pp1.t0,abc.fault_pp2.t0,$PRE.abc.fault_pp2.t0,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,abc.fault_pp2.on,$PRE.abc.fault_pp2.on,abc.fault_pp1.on,$PRE.abc.fault_pp1.on,abc.first,$PRE.abc.first,abc.v_pos,$PRE.abc.v_pos,abc.theta_zero,$PRE.abc.theta_zero,relay2.y[3],$PRE.relay2.y[3],relay2.y[2],$PRE.relay2.y[2],relay2.y[1],$PRE.relay2.y[1],relay1.y[3],$PRE.relay1.y[3],relay1.y[2],$PRE.relay1.y[2],relay1.y[1],$PRE.relay1.y[1],breaker2.breaker_c.opening,breaker2.breaker_c.t0,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.closed,breaker2.breaker_c.open,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.arc,breaker2.breaker_b.opening,breaker2.breaker_b.t0,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.closed,breaker2.breaker_b.open,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.arc,breaker2.breaker_a.opening,breaker2.breaker_a.t0,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.closed,breaker2.breaker_a.open,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.arc,breaker1.breaker_c.opening,breaker1.breaker_c.t0,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.closed,breaker1.breaker_c.open,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.arc,breaker1.breaker_b.opening,breaker1.breaker_b.t0,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.closed,breaker1.breaker_b.open,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.arc,breaker1.breaker_a.opening,breaker1.breaker_a.t0,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.closed,breaker1.breaker_a.open,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition29) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 2 * 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 {(32,73)} Notification: Performance of prepare postOptimizeDAE: time 0.003691/0.4498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001913/0.4518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01727/0.469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001621/0.4692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-05/0.4692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.322e-05/0.4693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02888/0.4981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/0.4982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00435/0.5025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/0.5043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008237/0.5051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/0.5269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.5269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.023/0.5499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.003756/0.5537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/0.5547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/0.5568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002829/0.5596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006111/0.5602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.002448/0.5627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.258e-05/0.5628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.006173/0.5689, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4],line.iF[1],line.iF[2],line.iF[3]) * Number of discrete variables: 75 (breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker1.breaker_c.closed,breaker2.breaker_c.closed,breaker2.breaker_a.closed,breaker2.breaker_b.closed,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,breaker1.breaker_a.arc,breaker1.breaker_a.open,breaker1.breaker_a.t0,breaker1.breaker_a.opening,breaker1.breaker_b.arc,breaker1.breaker_b.open,breaker1.breaker_b.t0,breaker1.breaker_b.opening,breaker1.breaker_c.arc,breaker1.breaker_c.open,breaker1.breaker_c.t0,breaker1.breaker_c.opening,breaker2.breaker_a.arc,breaker2.breaker_a.open,breaker2.breaker_a.t0,breaker2.breaker_a.opening,breaker2.breaker_b.arc,breaker2.breaker_b.open,breaker2.breaker_b.t0,breaker2.breaker_b.opening,breaker2.breaker_c.arc,breaker2.breaker_c.open,breaker2.breaker_c.t0,breaker2.breaker_c.opening,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,abc.theta_zero,abc.v_pos,abc.first,abc.fault_pp1.on,abc.fault_pp1.t0,abc.fault_pp2.on,abc.fault_pp2.t0,system.initime) * Number of discrete states: 27 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,abc.theta_zero,abc.fault_pp1.on,abc.fault_pp2.on,abc.v_pos,abc.first,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,breaker2.breaker_b.open,breaker2.breaker_a.open,breaker2.breaker_c.open,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,breaker1.breaker_c.open,breaker1.breaker_a.open,breaker1.breaker_b.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 17 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001643/0.5706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01985/0.5904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.5904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.008505/0.5989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005649/0.6046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/0.6292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003586/0.6328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.002119/0.6349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004065/0.6389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.002079/0.641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01558/0.6566, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1135] [Calling sys.exit(0), Time elapsed: 6.4738500690000365]