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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.00149, allocations: 194.8 kB / 7.845 MB, free: 2.316 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.279/1.279, allocations: 221.4 MB / 229.7 MB, free: 3.023 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.0008879/0.000888, allocations: 89.41 kB / 280.5 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03666/0.03666, allocations: 8.083 MB / 339.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.523e-06, allocations: 4 kB / 397.9 MB, free: 68.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.08001, allocations: 52.52 MB / 450.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2777/0.3578, allocations: 79.22 MB / 0.5172 GB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001679/0.358, allocations: 60.16 kB / 0.5173 GB, free: 15.23 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: time 0.02448/0.3825, allocations: 9.294 MB / 0.5264 GB, free: 8.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.3825, allocations: 8 kB / 0.5264 GB, free: 8.113 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.001485/0.384, allocations: 0.6721 MB / 0.527 GB, free: 7.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3841, allocations: 15.97 kB / 0.527 GB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.3843, allocations: 39.61 kB / 0.5271 GB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.3847, allocations: 309.3 kB / 0.5274 GB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3847, allocations: 8 kB / 0.5274 GB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.3848, allocations: 15.94 kB / 0.5274 GB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004996/0.3853, allocations: 316.8 kB / 0.5277 GB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.3858, allocations: 295.7 kB / 0.528 GB, free: 6.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3858, allocations: 0 / 0.528 GB, free: 6.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.3858, allocations: 11.86 kB / 0.528 GB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.3858, allocations: 12 kB / 0.528 GB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.3879, allocations: 1.538 MB / 0.5295 GB, free: 5.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.3883, allocations: 293.6 kB / 0.5298 GB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.3885, allocations: 181.6 kB / 0.53 GB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.3887, allocations: 93.03 kB / 0.53 GB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000366/0.389, allocations: 331.3 kB / 0.5304 GB, free: 4.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.389, allocations: 3.938 kB / 0.5304 GB, free: 4.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001726/0.3908, allocations: 0.6344 MB / 0.531 GB, free: 4.238 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.3909, allocations: 191.2 kB / 0.5312 GB, free: 4.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.3911, allocations: 232 kB / 0.5314 GB, free: 3.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.3912, allocations: 25.7 kB / 0.5314 GB, free: 3.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.3913, allocations: 145.3 kB / 0.5316 GB, free: 3.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.885e-05/0.3914, allocations: 96.19 kB / 0.5316 GB, free: 3.578 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.3914, allocations: 0 / 0.5316 GB, free: 3.578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3915, allocations: 345.7 kB / 0.532 GB, free: 3.242 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.3917, allocations: 151 kB / 0.5321 GB, free: 3.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.392, allocations: 200.2 kB / 0.5323 GB, free: 3.035 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.3925, allocations: 200.8 kB / 0.5325 GB, free: 2.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3925, allocations: 7.906 kB / 0.5325 GB, free: 2.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001789/0.3943, allocations: 0.6908 MB / 0.5332 GB, free: 2.418 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3943, allocations: 7.125 kB / 0.5332 GB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3943, allocations: 0 / 0.5332 GB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.3957, allocations: 288.6 kB / 0.5335 GB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.3959, allocations: 47.91 kB / 0.5335 GB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003586/0.3995, allocations: 2.46 MB / 0.5359 GB, free: 188 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.3998, allocations: 27.67 kB / 0.5359 GB, free: 160 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.3998, allocations: 12 kB / 0.5359 GB, free: 148 kB / 346.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.0002402/0.4001, allocations: 168.2 kB / 0.5361 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.4001, allocations: 27.72 kB / 0.5361 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.402, allocations: 0.7111 MB / 0.5368 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.402, allocations: 4 kB / 0.5368 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.402, allocations: 3.938 kB / 0.5368 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.402, allocations: 4 kB / 0.5368 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.4025, allocations: 473.5 kB / 0.5373 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.4025, allocations: 7.906 kB / 0.5373 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.4026, allocations: 31.17 kB / 0.5373 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.4039, allocations: 287.2 kB / 0.5376 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.4039, allocations: 11.92 kB / 0.5376 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003393/0.4073, allocations: 2.459 MB / 0.54 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4074, allocations: 4 kB / 0.54 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001773/0.4091, allocations: 0.6925 MB / 0.5407 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.4093, allocations: 104.1 kB / 0.5408 GB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/0.4093, allocations: 15.33 kB / 0.5408 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.4096, allocations: 8 kB / 0.5408 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.4096, allocations: 23.72 kB / 0.5408 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.4097, allocations: 8 kB / 0.5408 GB, free: 12.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001775/0.4099, allocations: 187.7 kB / 0.541 GB, free: 12.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004407/0.4103, allocations: 107.8 kB / 0.5411 GB, free: 11.93 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.0001929/0.4105, allocations: 115 kB / 0.5412 GB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.4117, allocations: 0.5994 MB / 0.5418 GB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4117, allocations: 0 / 0.5418 GB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008137/0.4125, allocations: 461.5 kB / 0.5423 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.4127, allocations: 15 kB / 0.5423 GB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009656/0.4137, allocations: 396.9 kB / 0.5427 GB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/0.4141, allocations: 0.7955 MB / 0.5434 GB, free: 9.879 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4141, allocations: 0 / 0.5434 GB, free: 9.879 MB / 362.7 MB Notification: Performance of Templates: time 0.01008/0.4242, allocations: 5.456 MB / 0.5488 GB, free: 4.453 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)