Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002324/0.002324, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001136/0.001135, allocations: 85.56 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5435/0.5435, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004866, allocations: 16 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1406, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.485/0.6256, allocations: 89.59 MB / 0.5663 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.626, allocations: 66.14 kB / 0.5664 GB, free: 13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04295/0.669, allocations: 8.901 MB / 0.5751 GB, free: 4.133 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.669, allocations: 0 / 0.5751 GB, free: 4.133 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.526e-05/0.6691, allocations: 12 kB / 0.5751 GB, free: 4.121 MB / 394.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.00197/0.6711, allocations: 0.7003 MB / 0.5758 GB, free: 3.375 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.6711, allocations: 8.031 kB / 0.5758 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/0.6714, allocations: 86.52 kB / 0.5759 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.6715, allocations: 50.88 kB / 0.5759 GB, free: 3.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.6722, allocations: 312.2 kB / 0.5762 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/0.6722, allocations: 37 kB / 0.5762 GB, free: 2.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.6724, allocations: 40 kB / 0.5763 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.6738, allocations: 463 kB / 0.5767 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.6738, allocations: 3.938 kB / 0.5767 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.192e-05/0.6739, allocations: 21.03 kB / 0.5767 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.674, allocations: 12 kB / 0.5768 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.6753, allocations: 327.8 kB / 0.5771 GB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004266/0.6796, allocations: 1.718 MB / 0.5787 GB, free: 148 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/0.6807, allocations: 241 kB / 0.579 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.6807, allocations: 8 kB / 0.579 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.6808, allocations: 30.56 kB / 0.579 GB, free: 15.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 2.705e-06/0.6808, allocations: 0 / 0.579 GB, free: 15.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.00485/0.6857, allocations: 1.249 MB / 0.5802 GB, free: 14.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.6858, allocations: 81.11 kB / 0.5803 GB, free: 14.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.6862, allocations: 233.6 kB / 0.5805 GB, free: 14.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.485e-05/0.6863, allocations: 33.7 kB / 0.5806 GB, free: 14.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.6866, allocations: 310 kB / 0.5809 GB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.6867, allocations: 114.3 kB / 0.581 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.6868, allocations: 12 kB / 0.581 GB, free: 13.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.687, allocations: 326.8 kB / 0.5813 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.6875, allocations: 112.8 kB / 0.5814 GB, free: 13.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.6881, allocations: 207.4 kB / 0.5816 GB, free: 13.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/0.6887, allocations: 131.9 kB / 0.5817 GB, free: 12.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6887, allocations: 0 / 0.5817 GB, free: 12.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001461/0.6902, allocations: 400 kB / 0.5821 GB, free: 12.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.547e-05/0.6903, allocations: 7.938 kB / 0.5821 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.6903, allocations: 4 kB / 0.5821 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.6905, allocations: 33.12 kB / 0.5821 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009402/0.6915, allocations: 123.9 kB / 0.5823 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.6931, allocations: 1.335 MB / 0.5836 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.6936, allocations: 19.98 kB / 0.5836 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.6937, allocations: 16 kB / 0.5836 GB, free: 10.82 MB / 410.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.0003409/0.6941, allocations: 169.6 kB / 0.5838 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6942, allocations: 31.62 kB / 0.5838 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.6943, allocations: 34.45 kB / 0.5838 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.6943, allocations: 4.062 kB / 0.5838 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.6944, allocations: 11.98 kB / 0.5838 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.6944, allocations: 7.938 kB / 0.5839 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000889/0.6953, allocations: 417.4 kB / 0.5843 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.6953, allocations: 4 kB / 0.5843 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008844/0.6962, allocations: 91.88 kB / 0.5843 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.6964, allocations: 28.84 kB / 0.5844 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.6965, allocations: 4 kB / 0.5844 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.6979, allocations: 1.327 MB / 0.5857 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.698, allocations: 4.031 kB / 0.5857 GB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.6999, allocations: 0.6138 MB / 0.5863 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.7002, allocations: 124.8 kB / 0.5864 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.7003, allocations: 11.95 kB / 0.5864 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.7007, allocations: 19.98 kB / 0.5864 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.7008, allocations: 19.97 kB / 0.5864 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.7009, allocations: 12 kB / 0.5865 GB, free: 7.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002965/0.7012, allocations: 186 kB / 0.5866 GB, free: 7.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7012, allocations: 0 / 0.5866 GB, free: 7.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006922/0.7019, allocations: 92 kB / 0.5867 GB, free: 7.391 MB / 410.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.002359/0.7043, allocations: 1.218 MB / 0.5879 GB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.7058, allocations: 415 kB / 0.5883 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7059, allocations: 0.6875 kB / 0.5883 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.7066, allocations: 254.6 kB / 0.5885 GB, free: 5.465 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.7072, allocations: 41.33 kB / 0.5886 GB, free: 5.426 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006942/0.7142, allocations: 4.061 MB / 0.5926 GB, free: 1.238 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.7148, allocations: 0.8191 MB / 0.5934 GB, free: 404 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.7152, allocations: 139.4 kB / 0.5935 GB, free: 264 kB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7152, allocations: 0 / 0.5935 GB, free: 264 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.761/3.476, allocations: 7.458 MB / 0.6008 GB, free: 8.816 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1)