Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",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.0009742/0.0009743, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.001171/0.001171, allocations: 103.2 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1917/0.1917, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.969e-05, allocations: 0 / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1337, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4411/0.5748, allocations: 91.15 MB / 0.5838 GB, free: 5.168 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.575, allocations: 68.56 kB / 0.5838 GB, free: 5.102 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02481/0.5999, allocations: 9.182 MB / 0.5928 GB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5999, allocations: 0 / 0.5928 GB, free: 11.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.5999, allocations: 15.94 kB / 0.5928 GB, free: 11.9 MB / 410.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.001017/0.601, allocations: 0.6514 MB / 0.5935 GB, free: 11.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.601, allocations: 15.98 kB / 0.5935 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/0.6011, allocations: 47.44 kB / 0.5935 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.6015, allocations: 316.5 kB / 0.5938 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.6016, allocations: 19.95 kB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.6016, allocations: 24 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004547/0.6021, allocations: 258.6 kB / 0.5941 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.6027, allocations: 372.5 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.6027, allocations: 0 / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.6028, allocations: 0 / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.6028, allocations: 12 kB / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.6053, allocations: 1.622 MB / 0.5961 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.6056, allocations: 201.1 kB / 0.5963 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.6058, allocations: 117.7 kB / 0.5964 GB, free: 8.031 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.6059, allocations: 4 kB / 0.5964 GB, free: 8.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.6059, allocations: 34.56 kB / 0.5964 GB, free: 7.984 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.923e-06/0.6059, allocations: 0 / 0.5964 GB, free: 7.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001991/0.6079, allocations: 1.015 MB / 0.5974 GB, free: 6.867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.608, allocations: 85.11 kB / 0.5975 GB, free: 6.766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.6082, allocations: 214 kB / 0.5977 GB, free: 6.551 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.6082, allocations: 29.7 kB / 0.5977 GB, free: 6.516 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.6084, allocations: 259.4 kB / 0.598 GB, free: 6.258 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.069e-05/0.6085, allocations: 118.2 kB / 0.5981 GB, free: 6.141 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.6085, allocations: 0 / 0.5981 GB, free: 6.141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6087, allocations: 338.8 kB / 0.5984 GB, free: 5.801 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.6088, allocations: 80.88 kB / 0.5985 GB, free: 5.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.609, allocations: 178.8 kB / 0.5986 GB, free: 5.504 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.6092, allocations: 107.4 kB / 0.5987 GB, free: 5.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6092, allocations: 4 kB / 0.5987 GB, free: 5.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005202/0.6097, allocations: 335.2 kB / 0.5991 GB, free: 5.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.6098, allocations: 13.34 kB / 0.5991 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.6098, allocations: 4 kB / 0.5991 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.6099, allocations: 32.83 kB / 0.5991 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.6104, allocations: 124.1 kB / 0.5992 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009997/0.6114, allocations: 1.284 MB / 0.6005 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.6117, allocations: 12.06 kB / 0.6005 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.6117, allocations: 16 kB / 0.6005 GB, free: 3.457 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 () * 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.0001152/0.6118, allocations: 116.8 kB / 0.6006 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004677/0.6123, allocations: 247.2 kB / 0.6009 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/0.6124, allocations: 23.72 kB / 0.6009 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.115e-05/0.6125, allocations: 33.95 kB / 0.6009 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6125, allocations: 8 kB / 0.6009 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6125, allocations: 0 / 0.6009 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.6125, allocations: 0 / 0.6009 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.6136, allocations: 0.6285 MB / 0.6015 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6136, allocations: 0 / 0.6015 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/0.6141, allocations: 99.94 kB / 0.6016 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.629e-05/0.6142, allocations: 24.84 kB / 0.6017 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.6143, allocations: 7.953 kB / 0.6017 GB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009419/0.6152, allocations: 1.276 MB / 0.6029 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6152, allocations: 0 / 0.6029 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000806/0.6161, allocations: 0.5648 MB / 0.6035 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.6162, allocations: 120.8 kB / 0.6036 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.6162, allocations: 0 / 0.6036 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.6165, allocations: 19.98 kB / 0.6036 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.6166, allocations: 31.91 kB / 0.6036 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.6166, allocations: 8 kB / 0.6036 GB, free: 20 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.6168, allocations: 166 kB / 0.6038 GB, free: 15.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6168, allocations: 0 / 0.6038 GB, free: 15.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004739/0.6173, allocations: 76 kB / 0.6039 GB, free: 15.79 MB / 426.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.0009464/0.6182, allocations: 1.319 MB / 0.6051 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005448/0.6188, allocations: 341.5 kB / 0.6055 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6188, allocations: 0 / 0.6055 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.619, allocations: 219.4 kB / 0.6057 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.6194, allocations: 33.36 kB / 0.6057 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.6208, allocations: 0.7113 MB / 0.6064 GB, free: 13.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.6213, allocations: 0.823 MB / 0.6072 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.6214, allocations: 39.27 kB / 0.6073 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.6216, allocations: 139.4 kB / 0.6074 GB, free: 12.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.864e-06/0.6216, allocations: 0 / 0.6074 GB, free: 12.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.6474, allocations: 5.229 MB / 0.6125 GB, free: 6.848 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.6476, allocations: 140.3 kB / 0.6126 GB, free: 6.656 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.542, allocations: 0 / 0.6126 GB, free: 6.656 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1)