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.001382/0.001382, allocations: 177.6 kB / 8.046 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 221.5 MB / 230 MB, free: 7.582 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.001194/0.001194, allocations: 95.55 kB / 280.9 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06577/0.06577, allocations: 8.102 MB / 339.8 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.21e-05, allocations: 3.188 kB / 398.6 MB, free: 49.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1011, allocations: 52.53 MB / 451.1 MB, free: 5.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.2065, allocations: 78.69 MB / 0.5174 GB, free: 6.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.2067, allocations: 79.89 kB / 0.5174 GB, free: 6.422 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2691/0.4758, allocations: 11.13 MB / 0.5283 GB, free: 78.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4759, allocations: 0 / 0.5283 GB, free: 78.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.4759, allocations: 5.844 kB / 0.5283 GB, free: 78.02 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.002199/0.4781, allocations: 0.7709 MB / 0.5291 GB, free: 77.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.79e-05/0.4782, allocations: 13.33 kB / 0.5291 GB, free: 77.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.4784, allocations: 50.97 kB / 0.5291 GB, free: 77.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.4789, allocations: 337 kB / 0.5295 GB, free: 77.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.479, allocations: 9.047 kB / 0.5295 GB, free: 77.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/0.479, allocations: 15.91 kB / 0.5295 GB, free: 77.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007396/0.4798, allocations: 374.8 kB / 0.5298 GB, free: 77.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000752/0.4805, allocations: 362.4 kB / 0.5302 GB, free: 77.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.4806, allocations: 0.7969 kB / 0.5302 GB, free: 77.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.4806, allocations: 0.9688 kB / 0.5302 GB, free: 77.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.4806, allocations: 11.7 kB / 0.5302 GB, free: 77.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.4831, allocations: 1.486 MB / 0.5316 GB, free: 76.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.4842, allocations: 481.3 kB / 0.5321 GB, free: 76.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.4845, allocations: 221.6 kB / 0.5323 GB, free: 76.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.4847, allocations: 97.14 kB / 0.5324 GB, free: 76.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.4847, allocations: 44.03 kB / 0.5324 GB, free: 76.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 2.956e-06/0.4848, allocations: 0 / 0.5324 GB, free: 76.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.002314/0.4871, allocations: 0.7635 MB / 0.5332 GB, free: 76.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.4871, allocations: 55.25 kB / 0.5332 GB, free: 76.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.4874, allocations: 226.7 kB / 0.5335 GB, free: 76.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.4874, allocations: 27.7 kB / 0.5335 GB, free: 76.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.4875, allocations: 177.1 kB / 0.5337 GB, free: 76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.881e-05/0.4876, allocations: 139.7 kB / 0.5338 GB, free: 75.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.4876, allocations: 0 / 0.5338 GB, free: 75.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.4877, allocations: 343.8 kB / 0.5341 GB, free: 75.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.488, allocations: 162.9 kB / 0.5343 GB, free: 75.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.4883, allocations: 161.2 kB / 0.5344 GB, free: 75.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/0.4888, allocations: 209.5 kB / 0.5346 GB, free: 75.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4888, allocations: 0 / 0.5346 GB, free: 75.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002159/0.491, allocations: 0.7642 MB / 0.5354 GB, free: 75.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4911, allocations: 5.469 kB / 0.5354 GB, free: 75.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4911, allocations: 3.938 kB / 0.5354 GB, free: 75.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00168/0.4927, allocations: 364.2 kB / 0.5357 GB, free: 75.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.493, allocations: 54.53 kB / 0.5358 GB, free: 75.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005484/0.4985, allocations: 5.222 MB / 0.5409 GB, free: 71.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.4989, allocations: 19.56 kB / 0.5409 GB, free: 71.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.499, allocations: 22.34 kB / 0.5409 GB, free: 71.75 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.0001588/0.4991, allocations: 105 kB / 0.541 GB, free: 71.64 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002017/0.5012, allocations: 0.7686 MB / 0.5418 GB, free: 71.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/0.5013, allocations: 32.78 kB / 0.5418 GB, free: 71.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.5036, allocations: 0.8675 MB / 0.5426 GB, free: 71.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5036, allocations: 6.438 kB / 0.5427 GB, free: 71.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5036, allocations: 3.938 kB / 0.5427 GB, free: 71.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.5036, allocations: 7.703 kB / 0.5427 GB, free: 71.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.5042, allocations: 476.1 kB / 0.5431 GB, free: 70.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5042, allocations: 2.969 kB / 0.5431 GB, free: 70.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.5044, allocations: 60.48 kB / 0.5432 GB, free: 70.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.506, allocations: 366.5 kB / 0.5435 GB, free: 70.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.506, allocations: 3.656 kB / 0.5435 GB, free: 70.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004538/0.5106, allocations: 5.218 MB / 0.5486 GB, free: 66.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5106, allocations: 0 / 0.5486 GB, free: 66.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.5128, allocations: 0.9096 MB / 0.5495 GB, free: 65.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.5129, allocations: 115.4 kB / 0.5496 GB, free: 65.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.5129, allocations: 0 / 0.5496 GB, free: 65.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.5133, allocations: 24.72 kB / 0.5497 GB, free: 65.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.5134, allocations: 37.92 kB / 0.5497 GB, free: 65.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.5135, allocations: 20.75 kB / 0.5497 GB, free: 65.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002223/0.5137, allocations: 184.5 kB / 0.5499 GB, free: 65.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5137, allocations: 0 / 0.5499 GB, free: 65.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006383/0.5144, allocations: 143.8 kB / 0.55 GB, free: 65.21 MB / 362.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.002661/0.517, allocations: 1.753 MB / 0.5517 GB, free: 63.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.5187, allocations: 0.8719 MB / 0.5526 GB, free: 62.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5187, allocations: 0 / 0.5526 GB, free: 62.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.5197, allocations: 0.6861 MB / 0.5533 GB, free: 61.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.5202, allocations: 24.55 kB / 0.5533 GB, free: 61.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.5214, allocations: 0.5092 MB / 0.5538 GB, free: 61.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.5217, allocations: 0.8133 MB / 0.5546 GB, free: 60.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000186/0.5219, allocations: 43.25 kB / 0.5546 GB, free: 60.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.5221, allocations: 123.4 kB / 0.5547 GB, free: 60.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5221, allocations: 0 / 0.5547 GB, free: 60.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.553, allocations: 11.35 MB / 0.5658 GB, free: 49.02 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.5532, allocations: 141.8 kB / 0.566 GB, free: 48.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/2.707, allocations: 4.031 kB / 0.566 GB, free: 48.82 MB / 362.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)