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.001516/0.001516, allocations: 112.4 kB / 17.13 MB, free: 5.961 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.001782/0.001782, allocations: 198.1 kB / 18.07 MB, free: 5.035 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.282/1.282, allocations: 222.9 MB / 241.8 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04733/0.04733, allocations: 8.091 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.91 kB / 415.1 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07425/0.0755, allocations: 51.52 MB / 466.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002718/0.07825, allocations: 1.921 MB / 468.6 MB, free: 240 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.08008, allocations: 1.594 MB / 470.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.08018, allocations: 4 kB / 470.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.08052, allocations: 135.2 kB / 470.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.08086, allocations: 163 kB / 470.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.08233, allocations: 0.8596 MB / 471.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.08272, allocations: 346.5 kB / 471.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.08294, allocations: 134.7 kB / 471.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.08307, allocations: 147.4 kB / 472 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.08332, allocations: 187.3 kB / 472.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.08338, allocations: 35.94 kB / 472.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.08372, allocations: 215.8 kB / 472.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.08379, allocations: 71.69 kB / 472.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.08395, allocations: 171.2 kB / 472.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005307/0.08449, allocations: 0.5141 MB / 473.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.0845, allocations: 0 / 473.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.08451, allocations: 3.984 kB / 473.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.08452, allocations: 0 / 473.1 MB, free: 11.66 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.00252/0.08705, allocations: 0.914 MB / 474.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.0871, allocations: 11.89 kB / 474.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.08735, allocations: 56.53 kB / 474.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.08769, allocations: 311.6 kB / 474.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.08772, allocations: 20.81 kB / 474.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.08777, allocations: 28.31 kB / 474.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.08828, allocations: 335.8 kB / 474.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.0883, allocations: 192 / 474.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.08834, allocations: 15.94 kB / 474.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.08835, allocations: 4 kB / 474.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.08883, allocations: 321.6 kB / 475.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.09048, allocations: 1.346 MB / 476.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008358/0.09133, allocations: 0.5131 MB / 477 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.09162, allocations: 208.8 kB / 477.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009647/0.09259, allocations: 0.8974 MB / 478.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004485/0.09305, allocations: 366 kB / 478.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.09307, allocations: 0 / 478.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.003056/0.09613, allocations: 1.095 MB / 479.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.09622, allocations: 195.9 kB / 479.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.09648, allocations: 272.8 kB / 480 MB, free: 4.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.09652, allocations: 33.7 kB / 480 MB, free: 4.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/0.09662, allocations: 160.4 kB / 480.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.0967, allocations: 98.64 kB / 480.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.09685, allocations: 82.03 kB / 480.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.09696, allocations: 338.8 kB / 480.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.09725, allocations: 184.8 kB / 480.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.09759, allocations: 276.8 kB / 481.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004646/0.1022, allocations: 1.416 MB / 482.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1023, allocations: 0 / 482.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001723/0.104, allocations: 0.8272 MB / 483.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.104, allocations: 37.7 kB / 483.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1041, allocations: 4 kB / 483.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.1053, allocations: 316.5 kB / 483.7 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.1055, allocations: 59.91 kB / 483.8 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003746/0.1093, allocations: 2.93 MB / 486.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.1096, allocations: 51.53 kB / 486.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.1097, allocations: 20 kB / 486.8 MB, free: 13.25 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.0002937/0.11, allocations: 208.2 kB / 487 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.11, allocations: 35.61 kB / 487 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.1117, allocations: 0.7408 MB / 487.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1117, allocations: 3.938 kB / 487.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1117, allocations: 7.938 kB / 487.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/0.1118, allocations: 108.7 kB / 487.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.1119, allocations: 16 kB / 487.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.1121, allocations: 11.98 kB / 487.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.1122, allocations: 27.95 kB / 488 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00156/0.1137, allocations: 0.7874 MB / 488.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009499/0.1147, allocations: 0.8255 MB / 489.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002689/0.115, allocations: 215.8 kB / 489.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1152, allocations: 192.5 kB / 490 MB, free: 9.984 MB / 366.1 MB Notification: Performance of Backend: time 5.71e-07/0.1152, allocations: 0 / 490 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.1167, allocations: 0.7376 MB / 490.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of SimCode: time 0.0009483/0.1176, allocations: 1.073 MB / 491.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of Templates: time 0.01135/0.129, allocations: 7.447 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)