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.001124/0.001124, allocations: 98.94 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.001345/0.001345, 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.383/1.383, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05477/0.05477, allocations: 8.111 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1158, allocations: 51.52 MB / 466 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.004394/0.1203, allocations: 1.916 MB / 467.9 MB, free: 252 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.1232, allocations: 1.59 MB / 469.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.1236, allocations: 7.938 kB / 469.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.1242, allocations: 143.2 kB / 469.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006565/0.1249, allocations: 151 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.1268, allocations: 0.8673 MB / 470.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.1275, allocations: 350.5 kB / 471 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.1278, allocations: 134.7 kB / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.1281, allocations: 139.4 kB / 471.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.1284, allocations: 183.3 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.193e-05/0.1285, allocations: 32 kB / 471.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005379/0.129, allocations: 223.8 kB / 471.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.1291, allocations: 75.69 kB / 471.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.1294, allocations: 175.2 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008045/0.1302, allocations: 0.5064 MB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1302, allocations: 3.984 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1302, allocations: 0 / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.1302, allocations: 3.938 kB / 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.002778/0.133, allocations: 0.918 MB / 473.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1331, allocations: 8.031 kB / 473.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.1333, allocations: 48.53 kB / 473.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.1338, allocations: 311.7 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.1338, allocations: 16.81 kB / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.1339, allocations: 32.31 kB / 473.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/0.1344, allocations: 331.8 kB / 474.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.1345, allocations: 4.188 kB / 474.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.1345, allocations: 11.94 kB / 474.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1345, allocations: 8 kB / 474.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.135, allocations: 325.6 kB / 474.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.1368, allocations: 1.354 MB / 475.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000901/0.1378, allocations: 0.5015 MB / 476.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.1381, allocations: 212.7 kB / 476.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.1392, allocations: 0.9051 MB / 477.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000531/0.1398, allocations: 358 kB / 477.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.254e-06/0.1398, allocations: 0 / 477.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00305/0.1428, allocations: 1.095 MB / 478.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.143, allocations: 191.9 kB / 479 MB, free: 4.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.1433, allocations: 276.8 kB / 479.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.1433, allocations: 37.7 kB / 479.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1435, allocations: 160.4 kB / 479.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/0.1436, allocations: 94.64 kB / 479.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.1438, allocations: 86.03 kB / 479.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1439, allocations: 338.8 kB / 480 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.1442, allocations: 184.8 kB / 480.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.1446, allocations: 268.9 kB / 480.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004471/0.1491, allocations: 1.42 MB / 481.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.1491, allocations: 4 kB / 481.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001784/0.1509, allocations: 0.8195 MB / 482.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.151, allocations: 33.7 kB / 482.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.151, allocations: 0 / 482.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.1522, allocations: 324.5 kB / 483.1 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.1525, allocations: 59.91 kB / 483.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00429/0.1568, allocations: 2.945 MB / 486.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.1572, allocations: 43.59 kB / 486.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.1573, allocations: 16 kB / 486.1 MB, free: 13.27 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.0004583/0.1578, allocations: 204.1 kB / 486.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.1579, allocations: 27.62 kB / 486.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.1597, allocations: 0.7526 MB / 487.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.1597, allocations: 7.938 kB / 487.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1597, allocations: 4 kB / 487.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1597, allocations: 3.938 kB / 487.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.1603, allocations: 473.1 kB / 487.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1603, allocations: 0 / 487.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/0.1604, allocations: 23.94 kB / 487.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.1616, allocations: 308.5 kB / 487.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.1617, allocations: 8 kB / 487.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004016/0.1657, allocations: 2.922 MB / 490.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1657, allocations: 0 / 490.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.1673, allocations: 0.745 MB / 491.6 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.1675, allocations: 108.8 kB / 491.7 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.1675, allocations: 12 kB / 491.7 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.1677, allocations: 8 kB / 491.7 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1678, allocations: 31.95 kB / 491.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.1679, allocations: 12 kB / 491.7 MB, free: 7.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.1681, allocations: 192.4 kB / 491.9 MB, free: 7.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1681, allocations: 0 / 491.9 MB, free: 7.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005767/0.1687, allocations: 131.8 kB / 492.1 MB, free: 7.043 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.000248/0.169, allocations: 131.3 kB / 492.2 MB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.1705, allocations: 0.7439 MB / 492.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1705, allocations: 0 / 492.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008845/0.1714, allocations: 0.5178 MB / 493.4 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.1717, allocations: 39.48 kB / 493.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.1729, allocations: 0.5826 MB / 494.1 MB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.1733, allocations: 0.7647 MB / 494.8 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.1734, allocations: 34.34 kB / 494.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.1735, allocations: 23.44 kB / 494.9 MB, free: 4.102 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1735, allocations: 0 / 494.9 MB, free: 4.102 MB / 366.1 MB Notification: Performance of Templates: time 0.01379/0.1873, allocations: 6.532 MB / 0.4897 GB, free: 13.59 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)