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.001411/0.001411, allocations: 180.6 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.36/1.36, allocations: 223.2 MB / 239.7 MB, free: 36 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009121/0.0009121, allocations: 91.36 kB / 290.9 MB, free: 4.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04313/0.04313, allocations: 8.108 MB / 350.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 8 kB / 413.2 MB, free: 5.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2219, allocations: 52.52 MB / 465.7 MB, free: 69.59 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08829/0.3102, allocations: 79.42 MB / 0.5324 GB, free: 6.059 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.3105, allocations: 71.95 kB / 0.5324 GB, free: 5.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02864/0.3392, allocations: 11.32 MB / 0.5435 GB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3392, allocations: 0 / 0.5435 GB, free: 10.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.3393, allocations: 8.656 kB / 0.5435 GB, free: 10.53 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.002185/0.3415, allocations: 0.8416 MB / 0.5443 GB, free: 9.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3415, allocations: 12.03 kB / 0.5443 GB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.3417, allocations: 71.19 kB / 0.5444 GB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.566e-05/0.3418, allocations: 51.39 kB / 0.5444 GB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.3423, allocations: 342.2 kB / 0.5448 GB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.3423, allocations: 24.66 kB / 0.5448 GB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.3423, allocations: 28 kB / 0.5448 GB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.343, allocations: 410 kB / 0.5452 GB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.343, allocations: 0 / 0.5452 GB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.3431, allocations: 20 kB / 0.5452 GB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3431, allocations: 11.95 kB / 0.5452 GB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005853/0.3437, allocations: 402.4 kB / 0.5456 GB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.346, allocations: 1.55 MB / 0.5471 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.3471, allocations: 487.7 kB / 0.5476 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.3473, allocations: 97.06 kB / 0.5477 GB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3473, allocations: 46.5 kB / 0.5477 GB, free: 5.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.344e-06/0.3474, allocations: 0 / 0.5477 GB, free: 5.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.004464/0.3518, allocations: 1.479 MB / 0.5492 GB, free: 4.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.3519, allocations: 59.41 kB / 0.5492 GB, free: 4.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.3523, allocations: 245.9 kB / 0.5495 GB, free: 4.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.3523, allocations: 33.7 kB / 0.5495 GB, free: 4.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.3524, allocations: 180.5 kB / 0.5497 GB, free: 3.828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.3526, allocations: 145.8 kB / 0.5498 GB, free: 3.684 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.3526, allocations: 8 kB / 0.5498 GB, free: 3.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3528, allocations: 346.8 kB / 0.5501 GB, free: 3.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.3531, allocations: 167.9 kB / 0.5503 GB, free: 3.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.3533, allocations: 177.3 kB / 0.5505 GB, free: 2.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.3536, allocations: 196.6 kB / 0.5507 GB, free: 2.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3537, allocations: 0 / 0.5507 GB, free: 2.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002001/0.3557, allocations: 0.7763 MB / 0.5514 GB, free: 2.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3557, allocations: 11.95 kB / 0.5514 GB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3557, allocations: 0 / 0.5514 GB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/0.3575, allocations: 374.2 kB / 0.5518 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.3577, allocations: 51.89 kB / 0.5518 GB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1921/0.5498, allocations: 5.577 MB / 0.5573 GB, free: 84.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.5502, allocations: 29.92 kB / 0.5573 GB, free: 84.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.5503, allocations: 14.62 kB / 0.5573 GB, free: 84.68 MB / 378.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 () * Number of clocked 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.0002092/0.5505, allocations: 151.6 kB / 0.5575 GB, free: 84.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.5506, allocations: 33.78 kB / 0.5575 GB, free: 84.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.5528, allocations: 0.9082 MB / 0.5584 GB, free: 84.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5528, allocations: 5.109 kB / 0.5584 GB, free: 84.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.5528, allocations: 3.188 kB / 0.5584 GB, free: 84.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5528, allocations: 7.344 kB / 0.5584 GB, free: 84.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/0.5534, allocations: 0.5378 MB / 0.5589 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.5534, allocations: 1.516 kB / 0.5589 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.5536, allocations: 55.17 kB / 0.559 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001741/0.5554, allocations: 374.7 kB / 0.5593 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.5554, allocations: 11.88 kB / 0.5594 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005409/0.5609, allocations: 5.535 MB / 0.5648 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5609, allocations: 4.219 kB / 0.5648 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.563, allocations: 0.9224 MB / 0.5657 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.5631, allocations: 123.2 kB / 0.5658 GB, free: 79.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.5632, allocations: 10.5 kB / 0.5658 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.5636, allocations: 35.73 kB / 0.5658 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.5637, allocations: 40.52 kB / 0.5659 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.5637, allocations: 19.14 kB / 0.5659 GB, free: 79.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002602/0.564, allocations: 201.1 kB / 0.5661 GB, free: 79.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.564, allocations: 3.656 kB / 0.5661 GB, free: 79.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007548/0.5648, allocations: 161.3 kB / 0.5662 GB, free: 79.71 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 () * Number of clocked 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.002541/0.5673, allocations: 1.796 MB / 0.568 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.5692, allocations: 0.922 MB / 0.5689 GB, free: 78.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.5692, allocations: 4 kB / 0.5689 GB, free: 78.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.5703, allocations: 0.7348 MB / 0.5696 GB, free: 77.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.5707, allocations: 38.56 kB / 0.5696 GB, free: 77.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.5745, allocations: 2.541 MB / 0.5721 GB, free: 76.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.5747, allocations: 0.8083 MB / 0.5729 GB, free: 75.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.5749, allocations: 47.5 kB / 0.573 GB, free: 75.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.575, allocations: 128.5 kB / 0.5731 GB, free: 75.38 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.575, allocations: 0 / 0.5731 GB, free: 75.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.6016, allocations: 12.36 MB / 0.5852 GB, free: 68.03 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.6018, allocations: 214.5 kB / 0.5854 GB, free: 67.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/2.999, allocations: 0 / 0.5854 GB, free: 67.79 MB / 378.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)