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.00136/0.00136, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.568/1.568, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009348/0.0009348, allocations: 93.5 kB / 267.1 MB, free: 9.273 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.475/0.475, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.278e-05/4.28e-05, allocations: 0 / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.148, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.464/0.6121, allocations: 89.51 MB / 0.5603 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.6123, allocations: 61.36 kB / 0.5604 GB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02227/0.6346, allocations: 8.91 MB / 0.5691 GB, free: 8.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.6346, allocations: 0 / 0.5691 GB, free: 8.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.6346, allocations: 8 kB / 0.5691 GB, free: 8.562 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.0009295/0.6356, allocations: 0.6556 MB / 0.5697 GB, free: 7.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.6356, allocations: 8.031 kB / 0.5697 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.136e-05/0.6357, allocations: 89.14 kB / 0.5698 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.6358, allocations: 47.44 kB / 0.5699 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.6362, allocations: 315 kB / 0.5702 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.6362, allocations: 37.5 kB / 0.5702 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.6363, allocations: 43 kB / 0.5702 GB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.637, allocations: 442.1 kB / 0.5706 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.637, allocations: 0 / 0.5706 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/0.637, allocations: 17.19 kB / 0.5707 GB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.637, allocations: 12 kB / 0.5707 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.6375, allocations: 276.2 kB / 0.5709 GB, free: 6.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.6395, allocations: 1.707 MB / 0.5726 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.6398, allocations: 218 kB / 0.5728 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.64, allocations: 120.5 kB / 0.5729 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.64, allocations: 11.97 kB / 0.5729 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.6401, allocations: 45.62 kB / 0.573 GB, free: 5.062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.372e-06/0.6401, allocations: 4 kB / 0.573 GB, free: 5.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001975/0.6421, allocations: 1.098 MB / 0.5741 GB, free: 4.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.6421, allocations: 89.03 kB / 0.5741 GB, free: 3.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.6424, allocations: 230.8 kB / 0.5744 GB, free: 3.715 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.6424, allocations: 35.89 kB / 0.5744 GB, free: 3.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.6425, allocations: 256 kB / 0.5746 GB, free: 3.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/0.6426, allocations: 121.6 kB / 0.5748 GB, free: 3.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.6427, allocations: 7.125 kB / 0.5748 GB, free: 3.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6428, allocations: 344.7 kB / 0.5751 GB, free: 3.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.6429, allocations: 94.23 kB / 0.5752 GB, free: 2.965 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.6432, allocations: 181.9 kB / 0.5754 GB, free: 2.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.6434, allocations: 120.6 kB / 0.5755 GB, free: 2.711 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6434, allocations: 0 / 0.5755 GB, free: 2.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005668/0.6439, allocations: 383.3 kB / 0.5758 GB, free: 2.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.644, allocations: 8 kB / 0.5758 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.644, allocations: 0 / 0.5758 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/0.6442, allocations: 36.16 kB / 0.5759 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.6446, allocations: 123.3 kB / 0.576 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.6459, allocations: 1.327 MB / 0.5773 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.6462, allocations: 26.3 kB / 0.5773 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.6462, allocations: 15.69 kB / 0.5773 GB, free: 0.8242 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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.0001289/0.6463, allocations: 132.7 kB / 0.5775 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.6464, allocations: 31.61 kB / 0.5775 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.602e-05/0.6465, allocations: 34.78 kB / 0.5775 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6465, allocations: 4 kB / 0.5775 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.6465, allocations: 0 / 0.5775 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.6466, allocations: 7.938 kB / 0.5775 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.6476, allocations: 0.7128 MB / 0.5782 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6476, allocations: 0 / 0.5782 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.6481, allocations: 95.56 kB / 0.5783 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-05/0.6482, allocations: 29.09 kB / 0.5784 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.6482, allocations: 8.422 kB / 0.5784 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.6493, allocations: 1.324 MB / 0.5797 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6494, allocations: 3.938 kB / 0.5797 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007553/0.6501, allocations: 0.5916 MB / 0.5802 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.6503, allocations: 126.8 kB / 0.5804 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.6503, allocations: 10.45 kB / 0.5804 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.6506, allocations: 23.55 kB / 0.5804 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.6507, allocations: 23.72 kB / 0.5804 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.6507, allocations: 8 kB / 0.5804 GB, free: 13.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.651, allocations: 185.6 kB / 0.5806 GB, free: 13.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.144e-06/0.651, allocations: 0 / 0.5806 GB, free: 13.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004647/0.6514, allocations: 93.69 kB / 0.5807 GB, free: 13.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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.001068/0.6525, allocations: 1.34 MB / 0.582 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006037/0.6531, allocations: 376.1 kB / 0.5824 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6531, allocations: 0 / 0.5824 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.6534, allocations: 233.2 kB / 0.5826 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.6538, allocations: 45.09 kB / 0.5826 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.6554, allocations: 0.7421 MB / 0.5833 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.6558, allocations: 0.8229 MB / 0.5841 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.656, allocations: 38.95 kB / 0.5842 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.6561, allocations: 139.1 kB / 0.5843 GB, free: 10.12 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6561, allocations: 0 / 0.5843 GB, free: 10.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.6766, allocations: 5.835 MB / 0.59 GB, free: 4.371 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.6768, allocations: 166.7 kB / 0.5902 GB, free: 4.145 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/2.79, allocations: 0 / 0.5902 GB, free: 4.145 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)