Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",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.001098/0.001098, allocations: 182.3 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.355/1.355, 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.0008537/0.0008542, allocations: 91.91 kB / 286.1 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05095/0.05095, allocations: 8.1 MB / 345.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.24e-05, allocations: 0 / 405.6 MB, free: 61.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.09865, allocations: 52.52 MB / 458.1 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.463, allocations: 81.13 MB / 0.5266 GB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.4632, allocations: 67.66 kB / 0.5266 GB, free: 4.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04882/0.512, allocations: 18.37 MB / 0.5446 GB, free: 6.156 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5121, allocations: 2.406 kB / 0.5446 GB, free: 6.156 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.305e-05/0.5121, allocations: 15.94 kB / 0.5446 GB, free: 6.141 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.004048/0.5162, allocations: 1.152 MB / 0.5457 GB, free: 5.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/0.5162, allocations: 12.03 kB / 0.5457 GB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002158/0.5165, allocations: 78.28 kB / 0.5458 GB, free: 4.969 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.5167, allocations: 75.14 kB / 0.5459 GB, free: 4.895 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008699/0.5176, allocations: 439.4 kB / 0.5463 GB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.5177, allocations: 38 kB / 0.5463 GB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/0.5178, allocations: 39.75 kB / 0.5464 GB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.5189, allocations: 0.7058 MB / 0.5471 GB, free: 4.012 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.519, allocations: 0 / 0.5471 GB, free: 4.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/0.519, allocations: 20.12 kB / 0.5471 GB, free: 4.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.5191, allocations: 8 kB / 0.5471 GB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.52, allocations: 0.6545 MB / 0.5477 GB, free: 3.617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.5241, allocations: 3.064 MB / 0.5507 GB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.5256, allocations: 1.07 MB / 0.5518 GB, free: 260 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.5262, allocations: 483 kB / 0.5522 GB, free: 8 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.5264, allocations: 97.86 kB / 0.5523 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.5265, allocations: 44.53 kB / 0.5524 GB, free: 15.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 2.935e-06/0.5265, allocations: 0 / 0.5524 GB, free: 15.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.00526/0.5317, allocations: 1.73 MB / 0.554 GB, free: 14.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.5318, allocations: 115.5 kB / 0.5542 GB, free: 14.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.5322, allocations: 345.3 kB / 0.5545 GB, free: 14.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.5323, allocations: 39.08 kB / 0.5545 GB, free: 14.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.5324, allocations: 216.2 kB / 0.5547 GB, free: 14.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.5326, allocations: 254.8 kB / 0.555 GB, free: 13.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.5327, allocations: 15.31 kB / 0.555 GB, free: 13.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5328, allocations: 363.6 kB / 0.5553 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/0.5334, allocations: 367.3 kB / 0.5557 GB, free: 13.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/0.534, allocations: 432.7 kB / 0.5561 GB, free: 12.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/0.5346, allocations: 410 kB / 0.5565 GB, free: 12.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5346, allocations: 0 / 0.5565 GB, free: 12.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004974/0.5396, allocations: 1.78 MB / 0.5582 GB, free: 10.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.5396, allocations: 4 kB / 0.5582 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.5396, allocations: 0 / 0.5582 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005329/0.545, allocations: 1.235 MB / 0.5594 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.5456, allocations: 83.88 kB / 0.5595 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.5581, allocations: 5.6 MB / 0.565 GB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007437/0.5589, allocations: 51.52 kB / 0.565 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.5591, allocations: 23.98 kB / 0.5651 GB, free: 3.543 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002372/0.5593, allocations: 142.7 kB / 0.5652 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.5595, allocations: 59.34 kB / 0.5652 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005453/0.565, allocations: 1.934 MB / 0.5671 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.565, allocations: 8 kB / 0.5671 GB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.565, allocations: 0 / 0.5671 GB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.565, allocations: 7.938 kB / 0.5672 GB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006529/0.5716, allocations: 2.936 MB / 0.57 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5716, allocations: 0 / 0.57 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.572, allocations: 99.77 kB / 0.5701 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004996/0.577, allocations: 1.117 MB / 0.5712 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.25e-05/0.5771, allocations: 19.98 kB / 0.5712 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/0.5878, allocations: 5.555 MB / 0.5767 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5878, allocations: 0 / 0.5767 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/0.5932, allocations: 1.903 MB / 0.5785 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.5934, allocations: 156.2 kB / 0.5787 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5936, allocations: 15.98 kB / 0.5787 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.5942, allocations: 47.97 kB / 0.5787 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/0.5944, allocations: 60.69 kB / 0.5788 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/0.5945, allocations: 27.98 kB / 0.5788 GB, free: 5.203 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000359/0.5949, allocations: 277.2 kB / 0.5791 GB, free: 4.934 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5949, allocations: 0 / 0.5791 GB, free: 4.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009398/0.5958, allocations: 283.8 kB / 0.5793 GB, free: 4.656 MB / 394.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 (56): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.005519/0.6014, allocations: 2.509 MB / 0.5818 GB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003354/0.6047, allocations: 1.369 MB / 0.5831 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6048, allocations: 0 / 0.5831 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.6072, allocations: 0.9439 MB / 0.584 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.6078, allocations: 59.36 kB / 0.5841 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.6098, allocations: 0.8641 MB / 0.5849 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.6103, allocations: 0.8898 MB / 0.5858 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003068/0.6106, allocations: 80.33 kB / 0.5859 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.6109, allocations: 195.4 kB / 0.5861 GB, free: 13.62 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6109, allocations: 0 / 0.5861 GB, free: 13.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04095/0.6519, allocations: 22.39 MB / 0.6079 GB, free: 7.375 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.6522, allocations: 177.1 kB / 0.6081 GB, free: 7.148 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/2.952, allocations: 7.938 kB / 0.6081 GB, free: 7.141 MB / 426.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)