Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000959/0.0009591, allocations: 100.5 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009609/0.000961, allocations: 177.6 kB / 16.61 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.2 MB / 240.6 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2049/0.2049, allocations: 8.101 MB / 299.8 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003369, allocations: 12 kB / 362.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 52.51 MB / 415.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.002573/0.1533, allocations: 1.8 MB / 417.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1556, allocations: 1.637 MB / 418.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1557, allocations: 4 kB / 418.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.1561, allocations: 115.4 kB / 418.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.1565, allocations: 199.4 kB / 419 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.1581, allocations: 0.8291 MB / 419.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.1586, allocations: 323.2 kB / 420.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.1589, allocations: 135.3 kB / 420.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.159, allocations: 159.5 kB / 420.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.1594, allocations: 203.2 kB / 420.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.1594, allocations: 24 kB / 420.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.1598, allocations: 203.7 kB / 420.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.1598, allocations: 67.73 kB / 420.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.744e-05/0.16, allocations: 101.5 kB / 421 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005322/0.1605, allocations: 479 kB / 421.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1605, allocations: 0 / 421.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1605, allocations: 0 / 421.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1605, allocations: 0 / 421.5 MB, free: 2.492 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003423/0.164, allocations: 1.114 MB / 422.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.164, allocations: 8.031 kB / 422.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.1643, allocations: 63.38 kB / 422.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.1648, allocations: 358.3 kB / 423 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.1649, allocations: 20.66 kB / 423.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.278e-05/0.1649, allocations: 40 kB / 423.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/0.1657, allocations: 446 kB / 423.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1657, allocations: 3.938 kB / 423.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.1658, allocations: 16 kB / 423.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1658, allocations: 11.88 kB / 423.6 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2654/0.4312, allocations: 447.5 kB / 424 MB, free: 41.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.4337, allocations: 2.003 MB / 426 MB, free: 40.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009699/0.4347, allocations: 0.679 MB / 426.7 MB, free: 39.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.984e-05/0.4348, allocations: 21.52 kB / 426.7 MB, free: 39.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005481/0.4353, allocations: 466.3 kB / 427.2 MB, free: 39.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.404e-06/0.4353, allocations: 0 / 427.2 MB, free: 39.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.00507/0.4404, allocations: 1.855 MB / 429 MB, free: 39.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.4405, allocations: 201.4 kB / 429.2 MB, free: 39.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.4409, allocations: 308.8 kB / 429.5 MB, free: 39.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.4409, allocations: 39.23 kB / 429.6 MB, free: 39.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.4411, allocations: 161.5 kB / 429.7 MB, free: 39.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.4412, allocations: 165.9 kB / 429.9 MB, free: 38.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.4412, allocations: 9.625 kB / 429.9 MB, free: 38.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4413, allocations: 347.1 kB / 430.2 MB, free: 38.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.4417, allocations: 279 kB / 430.5 MB, free: 38.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.4423, allocations: 335.7 kB / 430.8 MB, free: 38.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.4429, allocations: 336.8 kB / 431.1 MB, free: 38.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4429, allocations: 0 / 431.1 MB, free: 38.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002628/0.4455, allocations: 1.164 MB / 432.3 MB, free: 38.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.4456, allocations: 35.11 kB / 432.3 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.4456, allocations: 6.75 kB / 432.4 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/0.4478, allocations: 0.5187 MB / 432.9 MB, free: 38.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.4481, allocations: 82.84 kB / 433 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004761/0.4528, allocations: 3.767 MB / 436.7 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.4533, allocations: 54.34 kB / 436.8 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.4534, allocations: 23.33 kB / 436.8 MB, free: 35.65 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.line2.myFault.fault,line2.myFault.fault,$PRE.line2.myFault.Y.re,line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003156/0.4537, allocations: 220.7 kB / 437 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.501e-05/0.4538, allocations: 45.83 kB / 437.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.4561, allocations: 1.135 MB / 438.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.4561, allocations: 2.719 kB / 438.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.4561, allocations: 0 / 438.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.4561, allocations: 10.34 kB / 438.2 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.4589, allocations: 1.825 MB / 440 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.459, allocations: 0 / 440 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.4591, allocations: 54.56 kB / 440.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/0.4611, allocations: 0.4982 MB / 440.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.4611, allocations: 14.31 kB / 440.6 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004581/0.4657, allocations: 3.733 MB / 444.3 MB, free: 31.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4657, allocations: 0 / 444.3 MB, free: 31.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.4682, allocations: 1.189 MB / 445.5 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.4683, allocations: 127.4 kB / 445.6 MB, free: 30.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.4684, allocations: 11.28 kB / 445.7 MB, free: 30.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.4687, allocations: 29.27 kB / 445.7 MB, free: 30.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.4689, allocations: 41.02 kB / 445.7 MB, free: 30.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.4689, allocations: 19.73 kB / 445.7 MB, free: 30.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.4692, allocations: 217.9 kB / 446 MB, free: 30.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4692, allocations: 0 / 446 MB, free: 30.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007172/0.4699, allocations: 185.3 kB / 446.1 MB, free: 30.24 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,line2.myFault.Y.re,line2.myFault.Y.im,line2.myFault.fault) * Number of discrete states: 7 ($whenCondition4,line2.myFault.Y.im,line2.myFault.Y.re,$whenCondition3,$whenCondition2,line2.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002591/0.4702, allocations: 135 kB / 446.3 MB, free: 30.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.4718, allocations: 0.9868 MB / 447.3 MB, free: 29.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4718, allocations: 1.312 kB / 447.3 MB, free: 29.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.4728, allocations: 0.6761 MB / 447.9 MB, free: 29.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.4732, allocations: 30.95 kB / 448 MB, free: 29.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.4745, allocations: 0.9206 MB / 448.9 MB, free: 28.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4749, allocations: 0.8168 MB / 449.7 MB, free: 27.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.475, allocations: 55.92 kB / 449.8 MB, free: 27.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.4751, allocations: 29.55 kB / 449.8 MB, free: 27.89 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4751, allocations: 0 / 449.8 MB, free: 27.89 MB / 350.1 MB Notification: Performance of Templates: time 0.01517/0.4903, allocations: 10.17 MB / 459.9 MB, free: 27.21 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe 2>&1) Environment - environmentSimulation: