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/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.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.001683/0.001683, allocations: 99.06 kB / 16.44 MB, free: 6.5 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.001857/0.001857, allocations: 192 kB / 17.38 MB, free: 5.715 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.389/1.389, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05989/0.05989, allocations: 8.1 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.88 kB / 414.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1247, allocations: 51.52 MB / 466 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.004314/0.1291, allocations: 1.917 MB / 467.9 MB, free: 260 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.1325, allocations: 1.598 MB / 469.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.1327, allocations: 4 kB / 469.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.1333, allocations: 143.2 kB / 469.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.1338, allocations: 151 kB / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.1359, allocations: 0.8595 MB / 470.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007302/0.1366, allocations: 358.4 kB / 471 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.1369, allocations: 134.6 kB / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.1371, allocations: 143.4 kB / 471.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.1375, allocations: 183.3 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.1376, allocations: 32 kB / 471.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006233/0.1382, allocations: 219.8 kB / 471.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.1383, allocations: 75.69 kB / 471.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.1386, allocations: 163.2 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009745/0.1396, allocations: 0.518 MB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1396, allocations: 8 kB / 472.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1396, allocations: 0 / 472.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1397, allocations: 0 / 472.5 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.003541/0.1432, allocations: 0.9169 MB / 473.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1433, allocations: 12.03 kB / 473.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.1436, allocations: 48.53 kB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.1441, allocations: 307.7 kB / 473.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.1441, allocations: 20.81 kB / 473.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.1442, allocations: 24.38 kB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/0.1451, allocations: 335.7 kB / 474.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1451, allocations: 4.188 kB / 474.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.1451, allocations: 11.94 kB / 474.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.1452, allocations: 8 kB / 474.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.1459, allocations: 321.6 kB / 474.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.1483, allocations: 1.354 MB / 475.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.1496, allocations: 0.5092 MB / 476.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/0.1501, allocations: 208.7 kB / 476.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/0.152, allocations: 0.9052 MB / 477.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.1531, allocations: 354 kB / 477.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.765e-06/0.1531, allocations: 0 / 477.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.004789/0.1579, allocations: 1.102 MB / 478.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/0.1581, allocations: 191.9 kB / 479 MB, free: 4.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.1587, allocations: 268.8 kB / 479.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.1587, allocations: 37.7 kB / 479.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.1589, allocations: 160.4 kB / 479.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.159, allocations: 98.64 kB / 479.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.1593, allocations: 82.03 kB / 479.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.1595, allocations: 338.8 kB / 480 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.1599, allocations: 184.8 kB / 480.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.1604, allocations: 280.8 kB / 480.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005165/0.1656, allocations: 1.412 MB / 481.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.1656, allocations: 0 / 481.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002002/0.1676, allocations: 0.8273 MB / 482.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.1677, allocations: 37.64 kB / 482.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.1677, allocations: 0 / 482.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.169, allocations: 320.5 kB / 483.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.1693, allocations: 59.84 kB / 483.1 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004246/0.1736, allocations: 2.934 MB / 486 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.1739, allocations: 43.59 kB / 486.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.174, allocations: 20 kB / 486.1 MB, free: 13.28 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.0003395/0.1743, allocations: 208.1 kB / 486.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.1744, allocations: 31.62 kB / 486.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.1762, allocations: 0.7448 MB / 487.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1762, allocations: 3.938 kB / 487.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1762, allocations: 4 kB / 487.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1762, allocations: 3.984 kB / 487.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.1767, allocations: 481 kB / 487.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1767, allocations: 0 / 487.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-05/0.1768, allocations: 23.98 kB / 487.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.1781, allocations: 304.6 kB / 487.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.1781, allocations: 8 kB / 487.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004036/0.1822, allocations: 2.922 MB / 490.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1822, allocations: 3.938 kB / 490.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.1838, allocations: 0.7411 MB / 491.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.1839, allocations: 108.8 kB / 491.7 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.184, allocations: 8 kB / 491.7 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.1842, allocations: 16 kB / 491.7 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.1843, allocations: 27.95 kB / 491.7 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.1843, allocations: 12 kB / 491.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001869/0.1845, allocations: 196.4 kB / 491.9 MB, free: 7.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1845, allocations: 0 / 491.9 MB, free: 7.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005017/0.185, allocations: 127.8 kB / 492 MB, free: 7.055 MB / 366.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,lnFault.myFault.Y.re,lnFault.myFault.Y.im,lnFault.myFault.fault) * Number of discrete states: 7 ($whenCondition4,lnFault.myFault.Y.im,lnFault.myFault.Y.re,$whenCondition3,$whenCondition2,lnFault.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.000232/0.1853, allocations: 135.2 kB / 492.2 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.1867, allocations: 0.7326 MB / 492.9 MB, free: 6.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1867, allocations: 4.125 kB / 492.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008515/0.1876, allocations: 0.5251 MB / 493.4 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.1878, allocations: 27.25 kB / 493.5 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1889, allocations: 0.5873 MB / 494.1 MB, free: 4.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1893, allocations: 0.7647 MB / 494.8 MB, free: 4.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.1894, allocations: 34.44 kB / 494.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.1894, allocations: 27.38 kB / 494.9 MB, free: 4.109 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1895, allocations: 0 / 494.9 MB, free: 4.109 MB / 366.1 MB Notification: Performance of Templates: time 0.01127/0.2007, allocations: 6.532 MB / 0.4897 GB, free: 13.6 MB / 382.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)