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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLigneWithFault,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLigneWithFault,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 180.2 kB / 15.8 MB, free: 6.34 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.39/1.39, allocations: 223.2 MB / 239.7 MB, free: 1.801 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.0008722/0.0008721, allocations: 98.45 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04358/0.04358, allocations: 8.107 MB / 350.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003091, allocations: 9.422 kB / 413.2 MB, free: 89.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08571, allocations: 52.53 MB / 465.7 MB, free: 42 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3957/0.4815, allocations: 79.7 MB / 0.5326 GB, free: 16.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.4817, allocations: 64.42 kB / 0.5327 GB, free: 16.68 MB / 362.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.02317/0.5049, allocations: 9.773 MB / 0.5422 GB, free: 31.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.505, allocations: 0 / 0.5422 GB, free: 31.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.106e-05/0.505, allocations: 15.72 kB / 0.5422 GB, free: 31.54 MB / 378.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.001551/0.5065, allocations: 0.7315 MB / 0.543 GB, free: 31.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5066, allocations: 9.938 kB / 0.543 GB, free: 31.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.705e-05/0.5067, allocations: 60.55 kB / 0.543 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.5069, allocations: 34.59 kB / 0.5431 GB, free: 30.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.5072, allocations: 317.7 kB / 0.5434 GB, free: 30.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.5072, allocations: 18.62 kB / 0.5434 GB, free: 30.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.5073, allocations: 22.44 kB / 0.5434 GB, free: 30.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.5078, allocations: 328.5 kB / 0.5437 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5078, allocations: 3.984 kB / 0.5437 GB, free: 30.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.5078, allocations: 15.06 kB / 0.5437 GB, free: 30.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5078, allocations: 7.828 kB / 0.5437 GB, free: 30.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.5082, allocations: 329.9 kB / 0.544 GB, free: 30.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.5099, allocations: 1.434 MB / 0.5454 GB, free: 30.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006986/0.5106, allocations: 368 kB / 0.5458 GB, free: 30 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.5108, allocations: 94.22 kB / 0.5459 GB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/0.5113, allocations: 410.6 kB / 0.5463 GB, free: 29.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.484e-06/0.5113, allocations: 0 / 0.5463 GB, free: 29.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002939/0.5142, allocations: 1.231 MB / 0.5475 GB, free: 29.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.748e-05/0.5143, allocations: 246.6 kB / 0.5477 GB, free: 29.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.5146, allocations: 253.7 kB / 0.548 GB, free: 28.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.5146, allocations: 36.64 kB / 0.548 GB, free: 28.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.5147, allocations: 154.3 kB / 0.5481 GB, free: 28.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/0.5148, allocations: 112 kB / 0.5482 GB, free: 28.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.5148, allocations: 7.062 kB / 0.5483 GB, free: 28.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.161e-05/0.5149, allocations: 337.6 kB / 0.5486 GB, free: 28.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.5151, allocations: 166 kB / 0.5487 GB, free: 28.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.5153, allocations: 214 kB / 0.5489 GB, free: 28.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.5156, allocations: 224.4 kB / 0.5492 GB, free: 28.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5156, allocations: 0 / 0.5492 GB, free: 28.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001484/0.5171, allocations: 0.7587 MB / 0.5499 GB, free: 28.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.5172, allocations: 35.14 kB / 0.5499 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5172, allocations: 3.938 kB / 0.5499 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.5185, allocations: 318.9 kB / 0.5502 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.5187, allocations: 50.47 kB / 0.5503 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/0.5222, allocations: 2.786 MB / 0.553 GB, free: 26.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.5225, allocations: 29.5 kB / 0.553 GB, free: 26.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.5226, allocations: 17.31 kB / 0.5531 GB, free: 26.88 MB / 378.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 ($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 (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.0003416/0.5229, allocations: 200.7 kB / 0.5532 GB, free: 26.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.523, allocations: 38.95 kB / 0.5533 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.5247, allocations: 0.7961 MB / 0.5541 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5247, allocations: 3.844 kB / 0.5541 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5247, allocations: 0.8906 kB / 0.5541 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.5247, allocations: 5.188 kB / 0.5541 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/0.5253, allocations: 0.5257 MB / 0.5546 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5253, allocations: 0 / 0.5546 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.5255, allocations: 39.16 kB / 0.5546 GB, free: 26.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.5268, allocations: 314.1 kB / 0.5549 GB, free: 26.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.5268, allocations: 9.375 kB / 0.5549 GB, free: 26.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00412/0.5309, allocations: 2.796 MB / 0.5577 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.531, allocations: 0 / 0.5577 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.5327, allocations: 0.7787 MB / 0.5584 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.5329, allocations: 116.5 kB / 0.5585 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/0.5329, allocations: 12.56 kB / 0.5585 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.5332, allocations: 14.58 kB / 0.5586 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.5333, allocations: 30.81 kB / 0.5586 GB, free: 24.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.5334, allocations: 11.53 kB / 0.5586 GB, free: 24.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003566/0.5337, allocations: 206.5 kB / 0.5588 GB, free: 24.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5337, allocations: 0 / 0.5588 GB, free: 24.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007041/0.5345, allocations: 129.1 kB / 0.5589 GB, free: 24.65 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.0021/0.5366, allocations: 1.332 MB / 0.5602 GB, free: 23.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.538, allocations: 0.7046 MB / 0.5609 GB, free: 23.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.538, allocations: 0 / 0.5609 GB, free: 23.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009345/0.539, allocations: 0.5269 MB / 0.5614 GB, free: 23.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.5392, allocations: 23.62 kB / 0.5614 GB, free: 23.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/0.544, allocations: 3.114 MB / 0.5645 GB, free: 22.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.5444, allocations: 0.7772 MB / 0.5652 GB, free: 21.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.5446, allocations: 41.64 kB / 0.5653 GB, free: 21.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.5447, allocations: 94.16 kB / 0.5654 GB, free: 21.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5447, allocations: 3.938 kB / 0.5654 GB, free: 21.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.5697, allocations: 8.788 MB / 0.574 GB, free: 20.26 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.5699, allocations: 193.9 kB / 0.5741 GB, free: 20.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/2.692, allocations: 3.75 kB / 0.5741 GB, free: 20.02 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1)