Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",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.001097/0.001097, allocations: 181.9 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.314/1.314, 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.0009348/0.000935, allocations: 105.4 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05286/0.05286, allocations: 8.103 MB / 345.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.487e-05/4.501e-05, allocations: 7.984 kB / 405.6 MB, free: 61.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 52.52 MB / 458.1 MB, free: 9.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3547/0.4634, allocations: 80.72 MB / 0.5262 GB, free: 5.305 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00017/0.4636, allocations: 70.72 kB / 0.5262 GB, free: 5.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02507/0.4887, allocations: 10.28 MB / 0.5363 GB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4887, allocations: 2.734 kB / 0.5363 GB, free: 13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.4887, allocations: 4 kB / 0.5363 GB, free: 12.99 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002092/0.4908, allocations: 0.7469 MB / 0.537 GB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4909, allocations: 8.031 kB / 0.537 GB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.491, allocations: 66.47 kB / 0.5371 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.4911, allocations: 39.62 kB / 0.5371 GB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.4915, allocations: 288.3 kB / 0.5374 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.4915, allocations: 17.94 kB / 0.5374 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.4916, allocations: 26.25 kB / 0.5374 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.4922, allocations: 377.1 kB / 0.5378 GB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4922, allocations: 0 / 0.5378 GB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.4922, allocations: 10.56 kB / 0.5378 GB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.4922, allocations: 4 kB / 0.5378 GB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.4927, allocations: 317 kB / 0.5381 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.4948, allocations: 1.541 MB / 0.5396 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.4958, allocations: 389.4 kB / 0.54 GB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.4961, allocations: 180.3 kB / 0.5402 GB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.4963, allocations: 92.77 kB / 0.5403 GB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.4963, allocations: 39.06 kB / 0.5403 GB, free: 9.531 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 4.097e-06/0.4963, allocations: 3.984 kB / 0.5403 GB, free: 9.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.002081/0.4984, allocations: 0.6912 MB / 0.541 GB, free: 9.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.4985, allocations: 106.8 kB / 0.5411 GB, free: 8.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.4987, allocations: 193.1 kB / 0.5413 GB, free: 8.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.4987, allocations: 35.45 kB / 0.5413 GB, free: 8.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.4988, allocations: 159.8 kB / 0.5414 GB, free: 8.551 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.911e-05/0.4989, allocations: 104.1 kB / 0.5415 GB, free: 8.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/0.499, allocations: 3 kB / 0.5415 GB, free: 8.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.4992, allocations: 340.5 kB / 0.5419 GB, free: 8.129 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.4994, allocations: 153.1 kB / 0.542 GB, free: 8.051 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.4997, allocations: 194 kB / 0.5422 GB, free: 7.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.5, allocations: 165.1 kB / 0.5424 GB, free: 7.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5, allocations: 0 / 0.5424 GB, free: 7.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001975/0.502, allocations: 0.7237 MB / 0.5431 GB, free: 7.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.502, allocations: 4 kB / 0.5431 GB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.502, allocations: 3.984 kB / 0.5431 GB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/0.504, allocations: 414.4 kB / 0.5435 GB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.5042, allocations: 35.98 kB / 0.5435 GB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004806/0.509, allocations: 3.838 MB / 0.5472 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.5094, allocations: 34.81 kB / 0.5473 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.5094, allocations: 18.92 kB / 0.5473 GB, free: 3.438 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.5095, allocations: 123.3 kB / 0.5474 GB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.5096, allocations: 23.72 kB / 0.5474 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.5118, allocations: 0.7886 MB / 0.5482 GB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5119, allocations: 4 kB / 0.5482 GB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5119, allocations: 0 / 0.5482 GB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5119, allocations: 4 kB / 0.5482 GB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000515/0.5124, allocations: 481.1 kB / 0.5487 GB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5124, allocations: 0 / 0.5487 GB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.5126, allocations: 47.48 kB / 0.5487 GB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/0.5144, allocations: 412 kB / 0.5491 GB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.5144, allocations: 15.06 kB / 0.5491 GB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0049/0.5193, allocations: 3.835 MB / 0.5529 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5194, allocations: 8.188 kB / 0.5529 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.5214, allocations: 0.8016 MB / 0.5537 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.5215, allocations: 112.2 kB / 0.5538 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.5216, allocations: 3.75 kB / 0.5538 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.5219, allocations: 19.17 kB / 0.5538 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.522, allocations: 35.47 kB / 0.5538 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.522, allocations: 11.38 kB / 0.5538 GB, free: 13.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.5222, allocations: 170 kB / 0.554 GB, free: 13.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5222, allocations: 0 / 0.554 GB, free: 13.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005271/0.5227, allocations: 125.8 kB / 0.5541 GB, free: 13.44 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 (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002777/0.5255, allocations: 1.625 MB / 0.5557 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.5272, allocations: 0.7209 MB / 0.5564 GB, free: 11.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5272, allocations: 0 / 0.5564 GB, free: 11.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.5285, allocations: 0.5337 MB / 0.5569 GB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.5288, allocations: 15.36 kB / 0.5569 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009721/0.5297, allocations: 430.9 kB / 0.5574 GB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.5301, allocations: 0.7766 MB / 0.5581 GB, free: 9.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.5303, allocations: 42.12 kB / 0.5582 GB, free: 9.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.5304, allocations: 90.14 kB / 0.5582 GB, free: 9.805 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5304, allocations: 0 / 0.5582 GB, free: 9.805 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.5548, allocations: 8.719 MB / 0.5668 GB, free: 1.246 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/0.5552, allocations: 180.1 kB / 0.5669 GB, free: 1.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.475, allocations: 4 kB / 0.5669 GB, free: 1.016 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)