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.0008962/0.0008962, allocations: 167.5 kB / 16.8 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 240.8 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008198/0.0008195, allocations: 95.61 kB / 292 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04341/0.04341, allocations: 8.091 MB / 351.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003822, allocations: 14.41 kB / 414.4 MB, free: 57.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1058, allocations: 52.51 MB / 466.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.29/0.3959, allocations: 79.73 MB / 0.5338 GB, free: 5.824 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.3962, allocations: 62.97 kB / 0.5339 GB, free: 5.793 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.02358/0.4198, allocations: 9.773 MB / 0.5434 GB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4198, allocations: 3.938 kB / 0.5434 GB, free: 14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.4198, allocations: 4 kB / 0.5434 GB, free: 14 MB / 362.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.001489/0.4213, allocations: 0.719 MB / 0.5441 GB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4214, allocations: 12.03 kB / 0.5441 GB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.4216, allocations: 44.39 kB / 0.5442 GB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.422, allocations: 331.2 kB / 0.5445 GB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.4221, allocations: 15.94 kB / 0.5445 GB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.4221, allocations: 23.62 kB / 0.5445 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.4227, allocations: 329.4 kB / 0.5448 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4227, allocations: 192 / 0.5448 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.4228, allocations: 11.5 kB / 0.5449 GB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.4228, allocations: 4 kB / 0.5449 GB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.4233, allocations: 328.4 kB / 0.5452 GB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.4252, allocations: 1.444 MB / 0.5466 GB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008105/0.426, allocations: 363.1 kB / 0.5469 GB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.4263, allocations: 208.8 kB / 0.5471 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.4274, allocations: 0.9266 MB / 0.548 GB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000573/0.428, allocations: 368.9 kB / 0.5484 GB, free: 9.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.063e-06/0.428, allocations: 0 / 0.5484 GB, free: 9.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003106/0.4311, allocations: 1.145 MB / 0.5495 GB, free: 8.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.4313, allocations: 191.9 kB / 0.5497 GB, free: 7.863 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.4316, allocations: 277 kB / 0.55 GB, free: 7.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.4316, allocations: 37.7 kB / 0.55 GB, free: 7.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4317, allocations: 156.5 kB / 0.5501 GB, free: 7.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.661e-05/0.4318, allocations: 106.5 kB / 0.5502 GB, free: 7.281 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.4318, allocations: 8 kB / 0.5502 GB, free: 7.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.432, allocations: 338.8 kB / 0.5506 GB, free: 6.934 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.4322, allocations: 171.8 kB / 0.5507 GB, free: 6.766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.4325, allocations: 217 kB / 0.5509 GB, free: 6.535 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/0.4361, allocations: 1.18 MB / 0.5521 GB, free: 5.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4361, allocations: 0 / 0.5521 GB, free: 5.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00158/0.4377, allocations: 0.7453 MB / 0.5528 GB, free: 4.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.4377, allocations: 45.56 kB / 0.5529 GB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4378, allocations: 4.547 kB / 0.5529 GB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.4389, allocations: 312.5 kB / 0.5532 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.4391, allocations: 51.91 kB / 0.5532 GB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/0.4429, allocations: 2.712 MB / 0.5559 GB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.4432, allocations: 31.78 kB / 0.5559 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.4432, allocations: 16 kB / 0.5559 GB, free: 1.242 MB / 362.7 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: 6 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.lnFault.myFault.fault,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,lnFault.myFault.fault,$PRE.lnFault.myFault.Y.im,$PRE.lnFault.myFault.Y.re,lnFault.myFault.Y.re,lnFault.myFault.Y.im) * Number of discrete states: 0 () * Number of clocked 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.000352/0.4436, allocations: 208.8 kB / 0.5561 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.4437, allocations: 27.72 kB / 0.5561 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.4454, allocations: 0.7811 MB / 0.5569 GB, free: 208 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4455, allocations: 7.938 kB / 0.5569 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4455, allocations: 4 kB / 0.5569 GB, free: 196 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4455, allocations: 0 / 0.5569 GB, free: 196 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.4461, allocations: 0.5281 MB / 0.5574 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4461, allocations: 0 / 0.5574 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4462, allocations: 39.98 kB / 0.5575 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.4474, allocations: 304.5 kB / 0.5578 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.4474, allocations: 12 kB / 0.5578 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003578/0.451, allocations: 2.726 MB / 0.5604 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.451, allocations: 0 / 0.5604 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.4527, allocations: 0.7637 MB / 0.5612 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.4528, allocations: 116.7 kB / 0.5613 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.4529, allocations: 15.94 kB / 0.5613 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.4531, allocations: 12 kB / 0.5613 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.4532, allocations: 27.95 kB / 0.5613 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.4532, allocations: 8 kB / 0.5613 GB, free: 11.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002354/0.4535, allocations: 212.6 kB / 0.5615 GB, free: 11.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4535, allocations: 3.938 kB / 0.5616 GB, free: 11.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004845/0.454, allocations: 127.8 kB / 0.5617 GB, free: 11.07 MB / 378.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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.0002174/0.4542, allocations: 127.2 kB / 0.5618 GB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.4555, allocations: 0.7009 MB / 0.5625 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4555, allocations: 0 / 0.5625 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008581/0.4564, allocations: 0.5372 MB / 0.563 GB, free: 9.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.4567, allocations: 31.81 kB / 0.563 GB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4577, allocations: 0.6743 MB / 0.5637 GB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.458, allocations: 0.7687 MB / 0.5644 GB, free: 8.129 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.4582, allocations: 34.95 kB / 0.5645 GB, free: 8.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.149e-05/0.4583, allocations: 31.38 kB / 0.5645 GB, free: 8.059 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4583, allocations: 0 / 0.5645 GB, free: 8.059 MB / 378.7 MB Notification: Performance of Templates: time 0.00976/0.468, allocations: 5.952 MB / 0.5703 GB, free: 2.133 MB / 378.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)