Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 183.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 98.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.229/0.229, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005595/0.0005595, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1489, allocations: 58.86 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4256/0.5745, allocations: 89.59 MB / 0.5663 GB, free: 10.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.5748, allocations: 64.91 kB / 0.5664 GB, free: 10.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02387/0.5987, allocations: 8.907 MB / 0.5751 GB, free: 2.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5987, allocations: 0 / 0.5751 GB, free: 2.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.566e-05/0.5988, allocations: 12 kB / 0.5751 GB, free: 2.641 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001187/0.6, allocations: 0.6821 MB / 0.5758 GB, free: 1.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.6, allocations: 15.97 kB / 0.5758 GB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.6002, allocations: 90.58 kB / 0.5759 GB, free: 1.855 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.12e-05/0.6002, allocations: 51.39 kB / 0.5759 GB, free: 1.805 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.6007, allocations: 305.8 kB / 0.5762 GB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.6007, allocations: 39.62 kB / 0.5763 GB, free: 1.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.6008, allocations: 47.38 kB / 0.5763 GB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008085/0.6016, allocations: 456.2 kB / 0.5767 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.6016, allocations: 3.938 kB / 0.5767 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.6017, allocations: 19.25 kB / 0.5768 GB, free: 1.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.6017, allocations: 16 kB / 0.5768 GB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007111/0.6024, allocations: 332.1 kB / 0.5771 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.605, allocations: 1.705 MB / 0.5788 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.6056, allocations: 241.8 kB / 0.579 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.6056, allocations: 4 kB / 0.579 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.6056, allocations: 38.12 kB / 0.579 GB, free: 15.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.6056, allocations: 0 / 0.579 GB, free: 15.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.002804/0.6084, allocations: 1.249 MB / 0.5802 GB, free: 13.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.6085, allocations: 81.11 kB / 0.5803 GB, free: 13.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.6088, allocations: 240 kB / 0.5806 GB, free: 13.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.6088, allocations: 33.08 kB / 0.5806 GB, free: 13.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.609, allocations: 250 kB / 0.5808 GB, free: 13.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.6091, allocations: 121.7 kB / 0.5809 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.6091, allocations: 3.938 kB / 0.5809 GB, free: 13.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6092, allocations: 341.6 kB / 0.5813 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.6095, allocations: 107.6 kB / 0.5814 GB, free: 12.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.6099, allocations: 209.3 kB / 0.5816 GB, free: 12.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.6102, allocations: 133.8 kB / 0.5817 GB, free: 12.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6102, allocations: 4 kB / 0.5817 GB, free: 12.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007961/0.611, allocations: 414.8 kB / 0.5821 GB, free: 12.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.611, allocations: 8 kB / 0.5821 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.611, allocations: 4 kB / 0.5821 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.6112, allocations: 32.27 kB / 0.5821 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.6117, allocations: 117.6 kB / 0.5822 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.6128, allocations: 1.336 MB / 0.5836 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.6131, allocations: 22.8 kB / 0.5836 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.6132, allocations: 19.42 kB / 0.5836 GB, free: 10.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (49): * Single equations (assignments): 48 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.6134, allocations: 167.8 kB / 0.5838 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.753e-05/0.6135, allocations: 35.55 kB / 0.5838 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.934e-05/0.6135, allocations: 37.56 kB / 0.5838 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6136, allocations: 4 kB / 0.5838 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6136, allocations: 0 / 0.5838 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.6136, allocations: 7.938 kB / 0.5838 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.6141, allocations: 420.8 kB / 0.5842 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6141, allocations: 0 / 0.5842 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.6146, allocations: 95.38 kB / 0.5843 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.984e-05/0.6147, allocations: 24.44 kB / 0.5844 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.6147, allocations: 7.875 kB / 0.5844 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009804/0.6157, allocations: 1.331 MB / 0.5857 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.6157, allocations: 3.984 kB / 0.5857 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.6168, allocations: 0.6182 MB / 0.5863 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.6169, allocations: 123.6 kB / 0.5864 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.617, allocations: 6.828 kB / 0.5864 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.6172, allocations: 23.92 kB / 0.5864 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.6173, allocations: 27.41 kB / 0.5864 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.6173, allocations: 10.75 kB / 0.5864 GB, free: 7.891 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.6175, allocations: 183.6 kB / 0.5866 GB, free: 7.742 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6175, allocations: 0 / 0.5866 GB, free: 7.742 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004475/0.618, allocations: 93.56 kB / 0.5867 GB, free: 7.664 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (31): * Single equations (assignments): 30 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001361/0.6193, allocations: 1.217 MB / 0.5879 GB, free: 6.531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008783/0.6202, allocations: 410.3 kB / 0.5883 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.6203, allocations: 0 / 0.5883 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.6207, allocations: 251.5 kB / 0.5885 GB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.621, allocations: 44.09 kB / 0.5886 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/0.6258, allocations: 4.022 MB / 0.5925 GB, free: 2.082 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.6263, allocations: 0.8268 MB / 0.5933 GB, free: 1.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.6265, allocations: 30.97 kB / 0.5933 GB, free: 1.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.6267, allocations: 139.1 kB / 0.5935 GB, free: 1.164 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6267, allocations: 0 / 0.5935 GB, free: 1.164 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.657, allocations: 5.737 MB / 0.5991 GB, free: 11.49 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003322/0.6574, allocations: 188.1 kB / 0.5993 GB, free: 11.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.672, allocations: 0 / 0.5993 GB, free: 11.25 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1)