Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",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.001346/0.001346, allocations: 182 kB / 13.23 MB, free: 2.086 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.335/1.335, allocations: 221.4 MB / 235.1 MB, free: 14.43 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.0009088/0.0009089, allocations: 92.53 kB / 286.1 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04168/0.04168, allocations: 8.107 MB / 345.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.291e-05, allocations: 7.984 kB / 405.6 MB, free: 61.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.08992, allocations: 52.52 MB / 458.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3343/0.4243, allocations: 79.61 MB / 0.5251 GB, free: 6.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.4246, allocations: 74.48 kB / 0.5252 GB, free: 6.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03028/0.4549, allocations: 11.29 MB / 0.5362 GB, free: 13.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4549, allocations: 0 / 0.5362 GB, free: 13.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.4549, allocations: 8 kB / 0.5362 GB, free: 13.33 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.002017/0.457, allocations: 0.7709 MB / 0.537 GB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.457, allocations: 8.031 kB / 0.537 GB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.4572, allocations: 74.91 kB / 0.537 GB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.4573, allocations: 47.48 kB / 0.5371 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.4578, allocations: 335.3 kB / 0.5374 GB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.4578, allocations: 19.66 kB / 0.5374 GB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/0.4578, allocations: 33.17 kB / 0.5374 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.4585, allocations: 411.7 kB / 0.5378 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4585, allocations: 0 / 0.5378 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.4586, allocations: 17.12 kB / 0.5379 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.4586, allocations: 11.94 kB / 0.5379 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.4592, allocations: 391.4 kB / 0.5382 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.4614, allocations: 1.549 MB / 0.5398 GB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009948/0.4624, allocations: 493.1 kB / 0.5402 GB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.4627, allocations: 245 kB / 0.5405 GB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.4629, allocations: 83.73 kB / 0.5405 GB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.4629, allocations: 40.38 kB / 0.5406 GB, free: 9.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 1.813e-06/0.4629, allocations: 0 / 0.5406 GB, free: 9.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001996/0.4649, allocations: 0.7822 MB / 0.5413 GB, free: 9.129 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.465, allocations: 59.41 kB / 0.5414 GB, free: 9.059 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.4653, allocations: 239.5 kB / 0.5416 GB, free: 8.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.4653, allocations: 39.83 kB / 0.5417 GB, free: 8.824 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.4654, allocations: 166.2 kB / 0.5418 GB, free: 8.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.4655, allocations: 154.7 kB / 0.542 GB, free: 8.562 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.4655, allocations: 3.938 kB / 0.542 GB, free: 8.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4657, allocations: 341.1 kB / 0.5423 GB, free: 8.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.4659, allocations: 169.6 kB / 0.5425 GB, free: 8.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.4662, allocations: 178.3 kB / 0.5426 GB, free: 8.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.4665, allocations: 189.7 kB / 0.5428 GB, free: 7.938 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4665, allocations: 0 / 0.5428 GB, free: 7.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001858/0.4684, allocations: 0.7652 MB / 0.5436 GB, free: 7.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4684, allocations: 9.672 kB / 0.5436 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4684, allocations: 0 / 0.5436 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.4701, allocations: 377.6 kB / 0.5439 GB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.4703, allocations: 43.97 kB / 0.544 GB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006252/0.4766, allocations: 5.476 MB / 0.5493 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.477, allocations: 23.62 kB / 0.5493 GB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/0.4771, allocations: 19.92 kB / 0.5494 GB, free: 2.008 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.4773, allocations: 122.8 kB / 0.5495 GB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/0.4774, allocations: 31.62 kB / 0.5495 GB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.4797, allocations: 0.8998 MB / 0.5504 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.4797, allocations: 8 kB / 0.5504 GB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.4797, allocations: 0 / 0.5504 GB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.4797, allocations: 7.984 kB / 0.5504 GB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/0.4804, allocations: 0.5329 MB / 0.5509 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4804, allocations: 0 / 0.5509 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.4806, allocations: 55.95 kB / 0.551 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.4823, allocations: 381.2 kB / 0.5513 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.4823, allocations: 6.938 kB / 0.5513 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005756/0.4881, allocations: 5.422 MB / 0.5566 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4881, allocations: 0 / 0.5566 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.4904, allocations: 0.9173 MB / 0.5575 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.4905, allocations: 119.6 kB / 0.5576 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.4906, allocations: 11.31 kB / 0.5577 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.491, allocations: 30.84 kB / 0.5577 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.4912, allocations: 39.94 kB / 0.5577 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.4912, allocations: 19.56 kB / 0.5577 GB, free: 10.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002652/0.4915, allocations: 198.1 kB / 0.5579 GB, free: 10.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4915, allocations: 4 kB / 0.5579 GB, free: 10.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000691/0.4922, allocations: 163.8 kB / 0.5581 GB, free: 10.19 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003056/0.4953, allocations: 1.791 MB / 0.5598 GB, free: 8.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.4971, allocations: 0.9044 MB / 0.5607 GB, free: 7.418 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4972, allocations: 0 / 0.5607 GB, free: 7.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.4985, allocations: 0.7206 MB / 0.5614 GB, free: 6.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.4989, allocations: 40.5 kB / 0.5615 GB, free: 6.617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.5001, allocations: 0.5522 MB / 0.562 GB, free: 6.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.5005, allocations: 0.8131 MB / 0.5628 GB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.5006, allocations: 50.92 kB / 0.5629 GB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.5008, allocations: 119.4 kB / 0.563 GB, free: 5.02 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5008, allocations: 0 / 0.563 GB, free: 5.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.5273, allocations: 12.49 MB / 0.5752 GB, free: 8.707 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.5275, allocations: 200.6 kB / 0.5753 GB, free: 8.469 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.879, allocations: 0 / 0.5753 GB, free: 8.469 MB / 394.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)