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.0008509/0.0008509, allocations: 84.19 kB / 15.75 MB, free: 416 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.001036/0.001036, allocations: 178.7 kB / 16.63 MB, free: 6.887 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.449/1.449, allocations: 223.3 MB / 240.7 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1881/0.1881, allocations: 8.083 MB / 299.8 MB, free: 2.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 8 kB / 362.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 52.52 MB / 415.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.002665/0.1365, allocations: 1.946 MB / 417.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.1394, allocations: 1.633 MB / 419 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1396, allocations: 4 kB / 419 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.1399, allocations: 111.4 kB / 419.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004595/0.1404, allocations: 175 kB / 419.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.1419, allocations: 0.8254 MB / 420.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005208/0.1425, allocations: 414 kB / 420.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.1428, allocations: 139.3 kB / 420.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.1429, allocations: 159.3 kB / 420.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.1433, allocations: 215.1 kB / 421 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/0.1433, allocations: 28 kB / 421 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/0.1437, allocations: 227.7 kB / 421.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-05/0.1438, allocations: 67.69 kB / 421.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.144, allocations: 105.5 kB / 421.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.1445, allocations: 483 kB / 421.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.1446, allocations: 0 / 421.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1446, allocations: 0 / 421.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.1446, allocations: 0 / 421.9 MB, free: 2.227 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.003401/0.148, allocations: 1.117 MB / 423 MB, free: 1.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.148, allocations: 8.031 kB / 423 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.1483, allocations: 71.38 kB / 423.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.1488, allocations: 350.3 kB / 423.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.1489, allocations: 28.66 kB / 423.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.149, allocations: 36 kB / 423.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.1497, allocations: 446 kB / 423.9 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1497, allocations: 4 kB / 423.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.1498, allocations: 8 kB / 423.9 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1498, allocations: 8 kB / 423.9 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2782/0.428, allocations: 454.1 kB / 424.4 MB, free: 41.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.4306, allocations: 1.993 MB / 426.4 MB, free: 40.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.4317, allocations: 0.6875 MB / 427 MB, free: 40.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.432, allocations: 302.9 kB / 427.3 MB, free: 40.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.161e-05/0.4321, allocations: 13.53 kB / 427.3 MB, free: 40.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006267/0.4328, allocations: 468.8 kB / 427.8 MB, free: 39.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.535e-06/0.4328, allocations: 0 / 427.8 MB, free: 39.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.004814/0.4376, allocations: 1.776 MB / 429.6 MB, free: 39.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.4377, allocations: 195.7 kB / 429.8 MB, free: 39.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.4381, allocations: 309.3 kB / 430.1 MB, free: 39.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.444e-05/0.4382, allocations: 38.58 kB / 430.1 MB, free: 39.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.4383, allocations: 163.6 kB / 430.3 MB, free: 39.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.4385, allocations: 171.2 kB / 430.4 MB, free: 39.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.4385, allocations: 11.23 kB / 430.5 MB, free: 39.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4386, allocations: 350 kB / 430.8 MB, free: 38.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.4391, allocations: 276 kB / 431.1 MB, free: 38.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.4395, allocations: 342.4 kB / 431.4 MB, free: 38.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.4399, allocations: 335.3 kB / 431.7 MB, free: 38.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.44, allocations: 7.156 kB / 431.7 MB, free: 38.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002469/0.4424, allocations: 1.168 MB / 432.9 MB, free: 38.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.4425, allocations: 36.2 kB / 432.9 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4425, allocations: 0 / 432.9 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.4444, allocations: 0.5181 MB / 433.5 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.4447, allocations: 80.72 kB / 433.5 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004873/0.4496, allocations: 3.636 MB / 437.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.4501, allocations: 48.62 kB / 437.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.4502, allocations: 23.73 kB / 437.2 MB, free: 35.64 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.0003713/0.4505, allocations: 221.9 kB / 437.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4507, allocations: 44.62 kB / 437.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.453, allocations: 1.133 MB / 438.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.4531, allocations: 6.625 kB / 438.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4531, allocations: 3.953 kB / 438.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4531, allocations: 3.375 kB / 438.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.456, allocations: 1.827 MB / 440.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.456, allocations: 4.375 kB / 440.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.4562, allocations: 50.03 kB / 440.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.458, allocations: 0.5037 MB / 441 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.458, allocations: 18.25 kB / 441 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004613/0.4627, allocations: 3.593 MB / 444.6 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4627, allocations: 0 / 444.6 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.4651, allocations: 1.184 MB / 445.8 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.4653, allocations: 124.5 kB / 445.9 MB, free: 30.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.4654, allocations: 15.08 kB / 446 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.4657, allocations: 26.73 kB / 446 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.4658, allocations: 44.73 kB / 446 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/0.4659, allocations: 24.88 kB / 446.1 MB, free: 30.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.4661, allocations: 219.9 kB / 446.3 MB, free: 30.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4661, allocations: 0 / 446.3 MB, free: 30.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007795/0.4669, allocations: 184.1 kB / 446.5 MB, free: 30.3 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.0002329/0.4671, allocations: 132.5 kB / 446.6 MB, free: 30.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.4688, allocations: 0.985 MB / 447.6 MB, free: 29.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4688, allocations: 3.188 kB / 447.6 MB, free: 29.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009993/0.4699, allocations: 0.6754 MB / 448.2 MB, free: 29.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.4703, allocations: 41.19 kB / 448.3 MB, free: 29.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.4716, allocations: 0.921 MB / 449.2 MB, free: 28.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.4719, allocations: 0.8103 MB / 450 MB, free: 27.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.472, allocations: 48.92 kB / 450.1 MB, free: 27.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.4721, allocations: 33.91 kB / 450.1 MB, free: 27.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.324e-06/0.4721, allocations: 0 / 450.1 MB, free: 27.93 MB / 350.1 MB Notification: Performance of Templates: time 0.01673/0.4889, allocations: 10.2 MB / 460.3 MB, free: 27.26 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: