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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 177.8 kB / 8.044 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.5 MB / 230 MB, free: 3.176 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007792/0.0007792, allocations: 89.14 kB / 280.9 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06591/0.06591, allocations: 8.099 MB / 339.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.29e-05, allocations: 7.984 kB / 398.5 MB, free: 67.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 52.53 MB / 451 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.394/0.5151, allocations: 79.3 MB / 0.5179 GB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.5153, allocations: 57.67 kB / 0.5179 GB, free: 14.63 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:258:7-259:66:writable] Warning: connect(terminalA, terminalA) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.02431/0.5397, allocations: 9.621 MB / 0.5273 GB, free: 7.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5397, allocations: 0 / 0.5273 GB, free: 7.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.5397, allocations: 4 kB / 0.5273 GB, free: 7.195 MB / 346.7 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.001615/0.5414, allocations: 0.6619 MB / 0.528 GB, free: 6.527 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5414, allocations: 15.98 kB / 0.528 GB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/0.5417, allocations: 47.42 kB / 0.528 GB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.5423, allocations: 319.8 kB / 0.5283 GB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.5423, allocations: 12 kB / 0.5283 GB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.5424, allocations: 12 kB / 0.5283 GB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000554/0.5429, allocations: 311 kB / 0.5286 GB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.5435, allocations: 294.9 kB / 0.5289 GB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5435, allocations: 0 / 0.5289 GB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.5435, allocations: 7.953 kB / 0.5289 GB, free: 5.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.5436, allocations: 7.984 kB / 0.5289 GB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.546, allocations: 1.552 MB / 0.5305 GB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/0.5468, allocations: 330.8 kB / 0.5308 GB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.5471, allocations: 186.4 kB / 0.5309 GB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.5472, allocations: 89.09 kB / 0.531 GB, free: 4.043 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005585/0.5478, allocations: 354.2 kB / 0.5314 GB, free: 3.742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.597e-06/0.5478, allocations: 0.75 kB / 0.5314 GB, free: 3.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.00185/0.5497, allocations: 0.6253 MB / 0.532 GB, free: 3.309 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.5498, allocations: 195.3 kB / 0.5322 GB, free: 3.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.5502, allocations: 252.5 kB / 0.5324 GB, free: 2.879 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.5502, allocations: 27.14 kB / 0.5324 GB, free: 2.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.5504, allocations: 166.8 kB / 0.5326 GB, free: 2.711 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5505, allocations: 95.41 kB / 0.5327 GB, free: 2.629 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.5505, allocations: 7.938 kB / 0.5327 GB, free: 2.621 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5507, allocations: 338.4 kB / 0.533 GB, free: 2.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.5509, allocations: 156 kB / 0.5332 GB, free: 2.215 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.5513, allocations: 201.3 kB / 0.5334 GB, free: 2.082 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.5518, allocations: 187.5 kB / 0.5335 GB, free: 1.973 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5518, allocations: 0 / 0.5335 GB, free: 1.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001742/0.5535, allocations: 0.7102 MB / 0.5342 GB, free: 1.469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/0.5536, allocations: 41.62 kB / 0.5343 GB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.5536, allocations: 0 / 0.5343 GB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.5549, allocations: 303.2 kB / 0.5346 GB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.5552, allocations: 43.91 kB / 0.5346 GB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/0.5588, allocations: 2.633 MB / 0.5372 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.5592, allocations: 31.72 kB / 0.5372 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.5593, allocations: 14.56 kB / 0.5372 GB, free: 15.11 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: lnFault.myFault.fault:DISCRETE(start = false fixed = false ) "true means the fault is active" type: Boolean lnFault.myFault.Y.im:DISCRETE(start = 0.0 fixed = false ) "Imaginary part of complex number" type: Real lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = false ) "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.000335/0.5596, allocations: 155.7 kB / 0.5374 GB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.775e-05/0.5597, allocations: 31.67 kB / 0.5374 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.5616, allocations: 0.6983 MB / 0.5381 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.5616, allocations: 4 kB / 0.5381 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5616, allocations: 7.938 kB / 0.5381 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.5617, allocations: 3.984 kB / 0.5381 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.5622, allocations: 480.2 kB / 0.5385 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5623, allocations: 0 / 0.5385 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.5624, allocations: 27.98 kB / 0.5386 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.5637, allocations: 312.7 kB / 0.5389 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/0.5638, allocations: 7.75 kB / 0.5389 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003911/0.5677, allocations: 2.633 MB / 0.5415 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5677, allocations: 0 / 0.5415 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.5696, allocations: 0.6884 MB / 0.5421 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.5697, allocations: 116 kB / 0.5422 GB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.5698, allocations: 7.953 kB / 0.5422 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.5701, allocations: 19.19 kB / 0.5423 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.5702, allocations: 27.39 kB / 0.5423 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.5702, allocations: 11.56 kB / 0.5423 GB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002331/0.5704, allocations: 197.1 kB / 0.5425 GB, free: 10.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5705, allocations: 0 / 0.5425 GB, free: 10.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005516/0.571, allocations: 111.8 kB / 0.5426 GB, free: 10.86 MB / 362.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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.0002455/0.5713, allocations: 127.4 kB / 0.5427 GB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.5726, allocations: 0.6551 MB / 0.5434 GB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5727, allocations: 0 / 0.5434 GB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008628/0.5735, allocations: 0.5056 MB / 0.5438 GB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.5737, allocations: 24.09 kB / 0.5439 GB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007871/0.5745, allocations: 392 kB / 0.5442 GB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.5749, allocations: 0.7726 MB / 0.545 GB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.5751, allocations: 34.12 kB / 0.545 GB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/0.5752, allocations: 34.36 kB / 0.5451 GB, free: 8.668 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5752, allocations: 0 / 0.5451 GB, free: 8.668 MB / 362.7 MB Notification: Performance of Templates: time 0.01039/0.5855, allocations: 5.414 MB / 0.5504 GB, free: 3.297 MB / 362.7 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)