Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.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-master/package.mo", uses=false) 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.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 102.8 kB / 17.13 MB, free: 5.922 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.001063/0.001063, allocations: 194.1 kB / 18.06 MB, free: 5.004 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.343/1.343, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04774/0.04774, allocations: 8.087 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 55.91 kB / 415.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08536/0.08649, allocations: 51.52 MB / 466.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002723/0.08925, allocations: 1.913 MB / 468.6 MB, free: 256 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.09112, allocations: 1.59 MB / 470.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.715e-05/0.09123, allocations: 15.94 kB / 470.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.0916, allocations: 139.2 kB / 470.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.09195, allocations: 147 kB / 470.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.09342, allocations: 0.8711 MB / 471.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.09383, allocations: 354.5 kB / 471.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.09406, allocations: 126.7 kB / 471.8 MB, free: 13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.09419, allocations: 147.4 kB / 472 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.09443, allocations: 183.3 kB / 472.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.741e-05/0.09449, allocations: 36 kB / 472.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.09483, allocations: 219.8 kB / 472.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.0949, allocations: 67.7 kB / 472.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.09505, allocations: 171.2 kB / 472.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.09559, allocations: 0.5142 MB / 473.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.0956, allocations: 0 / 473.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.09561, allocations: 0 / 473.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.09562, allocations: 3.938 kB / 473.1 MB, free: 11.67 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00251/0.09814, allocations: 0.914 MB / 474 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.09818, allocations: 15.89 kB / 474.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.09843, allocations: 52.53 kB / 474.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.09878, allocations: 311.6 kB / 474.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.0988, allocations: 16.81 kB / 474.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.09886, allocations: 28.38 kB / 474.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.09939, allocations: 339.7 kB / 474.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.09941, allocations: 4.172 kB / 474.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.09945, allocations: 15.94 kB / 474.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.09946, allocations: 4 kB / 474.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/0.09994, allocations: 333.6 kB / 475.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.1017, allocations: 1.346 MB / 476.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.1028, allocations: 0.5054 MB / 477 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.103, allocations: 208.8 kB / 477.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009906/0.104, allocations: 0.9051 MB / 478.1 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004649/0.1045, allocations: 358 kB / 478.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.1045, allocations: 0 / 478.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.003123/0.1077, allocations: 1.099 MB / 479.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/0.1078, allocations: 195.9 kB / 479.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.108, allocations: 268.8 kB / 480 MB, free: 4.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.1081, allocations: 41.69 kB / 480 MB, free: 4.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.1082, allocations: 156.4 kB / 480.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/0.1083, allocations: 98.64 kB / 480.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.1084, allocations: 86.02 kB / 480.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1085, allocations: 338.8 kB / 480.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.1088, allocations: 184.8 kB / 480.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.1091, allocations: 268.9 kB / 481.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00483/0.114, allocations: 1.412 MB / 482.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.114, allocations: 8 kB / 482.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002028/0.116, allocations: 0.8195 MB / 483.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.1161, allocations: 37.69 kB / 483.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1161, allocations: 0 / 483.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.1174, allocations: 312.5 kB / 483.7 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.1177, allocations: 67.91 kB / 483.8 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/0.1216, allocations: 2.949 MB / 486.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.1219, allocations: 39.56 kB / 486.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.122, allocations: 16 kB / 486.8 MB, free: 13.26 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: lnFault.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real lnFault.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: 10 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.lnFault.myFault.fault,lnFault.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im,lnFault.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002794/0.1223, allocations: 204.1 kB / 487 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.1223, allocations: 31.61 kB / 487 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.124, allocations: 0.7448 MB / 487.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.1241, allocations: 7.922 kB / 487.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1241, allocations: 0 / 487.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.974e-05/0.1242, allocations: 108.7 kB / 487.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.1242, allocations: 15.92 kB / 487.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.1245, allocations: 12 kB / 487.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1246, allocations: 39.94 kB / 488 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00167/0.1262, allocations: 0.7835 MB / 488.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009271/0.1272, allocations: 0.8178 MB / 489.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003194/0.1275, allocations: 219.8 kB / 489.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.1277, allocations: 192.5 kB / 490 MB, free: 9.992 MB / 366.1 MB Notification: Performance of Backend: time 2.9e-07/0.1277, allocations: 0 / 490 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.1294, allocations: 0.7347 MB / 490.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of SimCode: time 0.001105/0.1305, allocations: 1.074 MB / 491.8 MB, free: 8.094 MB / 366.1 MB Notification: Performance of Templates: time 0.01216/0.1427, allocations: 7.46 MB / 499.2 MB, free: 0.6523 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1)