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.001063/0.001063, allocations: 100.7 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009657/0.0009658, allocations: 177 kB / 16.61 MB, free: 6.422 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.46/1.46, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2456/0.2456, allocations: 8.092 MB / 299.7 MB, free: 2.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 12 kB / 362.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 52.51 MB / 415.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002172/0.1449, allocations: 1.368 MB / 416.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1473, allocations: 1.517 MB / 418.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1474, allocations: 8 kB / 418.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.1477, allocations: 103.5 kB / 418.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.148, allocations: 135.5 kB / 418.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1493, allocations: 0.7045 MB / 419.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.1498, allocations: 227.5 kB / 419.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.15, allocations: 106 kB / 419.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1501, allocations: 111.6 kB / 419.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.1504, allocations: 155.4 kB / 419.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.1504, allocations: 16 kB / 419.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.1508, allocations: 171.8 kB / 419.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.1508, allocations: 51.75 kB / 419.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.647e-05/0.1509, allocations: 81.56 kB / 420 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004584/0.1514, allocations: 375.3 kB / 420.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1514, allocations: 0 / 420.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1514, allocations: 0 / 420.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1514, allocations: 4 kB / 420.4 MB, free: 3.613 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.00259/0.154, allocations: 0.8633 MB / 421.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.1541, allocations: 12.03 kB / 421.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.1544, allocations: 51.56 kB / 421.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.1548, allocations: 302.4 kB / 421.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.1548, allocations: 24.44 kB / 421.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.1549, allocations: 24 kB / 421.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.1556, allocations: 331.2 kB / 422 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1556, allocations: 0 / 422 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.1556, allocations: 7.984 kB / 422 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1557, allocations: 8 kB / 422 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.1562, allocations: 329.6 kB / 422.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.1581, allocations: 1.365 MB / 423.7 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2735/0.4317, allocations: 0.5017 MB / 424.2 MB, free: 40.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.789e-05/0.4318, allocations: 12.98 kB / 424.2 MB, free: 40.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005427/0.4323, allocations: 390.2 kB / 424.6 MB, free: 40.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.675e-06/0.4323, allocations: 2.875 kB / 424.6 MB, free: 40.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.003131/0.4355, allocations: 1.232 MB / 425.8 MB, free: 40.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.4356, allocations: 244.4 kB / 426 MB, free: 40.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.4358, allocations: 265.8 kB / 426.3 MB, free: 40.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.4359, allocations: 36.78 kB / 426.3 MB, free: 40.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.436, allocations: 149.8 kB / 426.5 MB, free: 39.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.314e-05/0.4361, allocations: 116.5 kB / 426.6 MB, free: 39.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.4361, allocations: 6.594 kB / 426.6 MB, free: 39.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.4362, allocations: 338.7 kB / 426.9 MB, free: 39.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.4365, allocations: 196.2 kB / 427.1 MB, free: 39.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.4367, allocations: 268.6 kB / 427.4 MB, free: 39.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.437, allocations: 248.5 kB / 427.6 MB, free: 39.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4371, allocations: 0 / 427.6 MB, free: 39.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001528/0.4386, allocations: 0.8319 MB / 428.5 MB, free: 39.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.4386, allocations: 37.11 kB / 428.5 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4387, allocations: 3.375 kB / 428.5 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.4398, allocations: 315.5 kB / 428.8 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.4401, allocations: 70.34 kB / 428.9 MB, free: 39.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.4432, allocations: 2.792 MB / 431.7 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.4435, allocations: 52.97 kB / 431.7 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.4436, allocations: 17.62 kB / 431.7 MB, free: 38.02 MB / 350.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.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real 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 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.lnFault.myFault.fault,lnFault.myFault.fault,$PRE.lnFault.myFault.Y.re,lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000271/0.4439, allocations: 205.5 kB / 431.9 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.4439, allocations: 27.86 kB / 432 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.4455, allocations: 0.7794 MB / 432.7 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.4455, allocations: 2.906 kB / 432.7 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4455, allocations: 10.83 kB / 432.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4455, allocations: 0 / 432.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.4474, allocations: 1.312 MB / 434.1 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4474, allocations: 0 / 434.1 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.769e-05/0.4475, allocations: 29.75 kB / 434.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.4487, allocations: 309.1 kB / 434.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.4487, allocations: 8.703 kB / 434.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/0.4516, allocations: 2.8 MB / 437.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4516, allocations: 0 / 437.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.453, allocations: 0.8077 MB / 438 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.453, allocations: 113.2 kB / 438.1 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.4531, allocations: 14.48 kB / 438.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.4533, allocations: 14.59 kB / 438.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.4534, allocations: 34.98 kB / 438.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.4535, allocations: 13.69 kB / 438.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.4536, allocations: 187 kB / 438.4 MB, free: 34.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4536, allocations: 0 / 438.4 MB, free: 34.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00056/0.4542, allocations: 130.2 kB / 438.5 MB, free: 34.08 MB / 350.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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002127/0.4544, allocations: 119.9 kB / 438.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.4556, allocations: 0.7606 MB / 439.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4556, allocations: 0 / 439.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.4563, allocations: 0.5279 MB / 439.9 MB, free: 33.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.4565, allocations: 18.72 kB / 439.9 MB, free: 33.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.4575, allocations: 0.6718 MB / 440.6 MB, free: 32.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.4577, allocations: 0.7757 MB / 441.4 MB, free: 32.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.4578, allocations: 36.41 kB / 441.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.4578, allocations: 24.44 kB / 441.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.4578, allocations: 4 kB / 441.4 MB, free: 32.06 MB / 350.1 MB Notification: Performance of Templates: time 0.009437/0.4673, allocations: 5.947 MB / 447.4 MB, free: 31.66 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: