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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 102.4 kB / 18.95 MB, free: 3.523 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 193.9 kB / 22.1 MB, free: 384 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 250.7 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05178/0.05178, allocations: 8.246 MB / 314 MB, free: 0.8477 MB / 238.1 MB [Timeout remaining time 90] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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=500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 437.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.0963, allocations: 54.35 MB / 492.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.004005/0.1003, allocations: 2.457 MB / 494.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.1032, allocations: 1.722 MB / 496.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.1035, allocations: 8 kB / 496.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.1041, allocations: 171 kB / 496.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006548/0.1048, allocations: 210.7 kB / 496.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.107, allocations: 1.033 MB / 497.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008353/0.1079, allocations: 481.8 kB / 498.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.1081, allocations: 120.1 kB / 498.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.1084, allocations: 195.3 kB / 498.4 MB, free: 340 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.1087, allocations: 255 kB / 498.7 MB, free: 84 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.1088, allocations: 44 kB / 498.7 MB, free: 40 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000533/0.1093, allocations: 259.8 kB / 499 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.337e-05/0.1094, allocations: 95.61 kB / 499.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.1097, allocations: 222.9 kB / 499.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008531/0.1105, allocations: 0.654 MB / 500 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1105, allocations: 0 / 500 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1105, allocations: 0 / 500 MB, free: 14.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.1105, allocations: 0 / 500 MB, free: 14.82 MB / 366.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.003721/0.1142, allocations: 1.19 MB / 0.4894 GB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1143, allocations: 15.89 kB / 0.4894 GB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.1146, allocations: 64.64 kB / 0.4895 GB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.1151, allocations: 359.6 kB / 0.4898 GB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.1151, allocations: 36.97 kB / 0.4899 GB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.1152, allocations: 36.38 kB / 0.4899 GB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.1161, allocations: 446.5 kB / 0.4903 GB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1161, allocations: 192 / 0.4903 GB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.1161, allocations: 15.94 kB / 0.4903 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.1161, allocations: 8 kB / 0.4903 GB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.1169, allocations: 462.4 kB / 0.4908 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.1197, allocations: 1.984 MB / 0.4927 GB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.1209, allocations: 0.6427 MB / 0.4933 GB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.1213, allocations: 257.2 kB / 0.4936 GB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.394e-05/0.1214, allocations: 19.97 kB / 0.4936 GB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007376/0.1221, allocations: 460.6 kB / 0.4941 GB, free: 8.477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.294e-06/0.1221, allocations: 0 / 0.4941 GB, free: 8.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.006192/0.1283, allocations: 1.779 MB / 0.4958 GB, free: 6.664 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.1285, allocations: 196.4 kB / 0.496 GB, free: 6.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.1289, allocations: 310.9 kB / 0.4963 GB, free: 6.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.1289, allocations: 41.64 kB / 0.4963 GB, free: 6.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.1291, allocations: 173 kB / 0.4965 GB, free: 5.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.1293, allocations: 166.6 kB / 0.4966 GB, free: 5.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.1295, allocations: 118.1 kB / 0.4967 GB, free: 5.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.1297, allocations: 346.8 kB / 0.4971 GB, free: 5.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.1301, allocations: 273.1 kB / 0.4973 GB, free: 4.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.1306, allocations: 343.8 kB / 0.4977 GB, free: 4.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007794/0.1384, allocations: 2.07 MB / 0.4997 GB, free: 2.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.1384, allocations: 0 / 0.4997 GB, free: 2.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003043/0.1415, allocations: 1.172 MB / 0.5008 GB, free: 1.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.1415, allocations: 37.64 kB / 0.5009 GB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1415, allocations: 3.938 kB / 0.5009 GB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/0.1438, allocations: 0.5231 MB / 0.5014 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.1442, allocations: 87.83 kB / 0.5015 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006758/0.1509, allocations: 3.952 MB / 0.5053 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.1514, allocations: 55.59 kB / 0.5054 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.1514, allocations: 16 kB / 0.5054 GB, free: 12.52 MB / 382.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.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary 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 ($PRE.line2.myFault.fault,line2.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im,line2.myFault.Y.re) * 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 (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 {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0003382/0.1518, allocations: 237.5 kB / 0.5056 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/0.1518, allocations: 43.72 kB / 0.5057 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.1547, allocations: 1.109 MB / 0.5067 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1547, allocations: 7.984 kB / 0.5068 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1547, allocations: 0 / 0.5068 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1547, allocations: 8 kB / 0.5068 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.1583, allocations: 1.811 MB / 0.5085 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1583, allocations: 0 / 0.5085 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.1585, allocations: 55.91 kB / 0.5086 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002291/0.1608, allocations: 0.5042 MB / 0.5091 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.1608, allocations: 12 kB / 0.5091 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006281/0.1671, allocations: 3.908 MB / 0.5129 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1671, allocations: 4 kB / 0.5129 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.1699, allocations: 1.173 MB / 0.5141 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.1701, allocations: 128.7 kB / 0.5142 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.1701, allocations: 8 kB / 0.5142 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.1705, allocations: 27.92 kB / 0.5142 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.1706, allocations: 40.38 kB / 0.5142 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.1707, allocations: 16 kB / 0.5143 GB, free: 3.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.1709, allocations: 221.9 kB / 0.5145 GB, free: 2.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1709, allocations: 0 / 0.5145 GB, free: 2.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006581/0.1716, allocations: 183.9 kB / 0.5147 GB, free: 2.758 MB / 382.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 (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 {(3,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002434/0.1718, allocations: 142 kB / 0.5148 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.1738, allocations: 0.9301 MB / 0.5157 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1738, allocations: 0 / 0.5157 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.1751, allocations: 0.6062 MB / 0.5163 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1755, allocations: 36.89 kB / 0.5163 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.177, allocations: 0.8459 MB / 0.5171 GB, free: 120 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2045/0.3815, allocations: 0.8005 MB / 0.5179 GB, free: 36.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.3817, allocations: 38.5 kB / 0.518 GB, free: 36.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3817, allocations: 0 / 0.518 GB, free: 36.16 MB / 382.1 MB Notification: Performance of Templates: time 0.01374/0.3954, allocations: 7.776 MB / 0.5256 GB, free: 35.61 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile [Timeout 660] (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) [Timeout 480]