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.001565/0.001565, allocations: 176.8 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009016/0.0009016, allocations: 95.3 kB / 292.1 MB, free: 10.68 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.3576/0.3576, allocations: 44.21 MB / 387.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003615, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4334, allocations: 61.9 MB / 0.5096 GB, free: 37.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.5681, allocations: 91.89 MB / 0.5994 GB, free: 3.215 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.5684, allocations: 75.92 kB / 0.5994 GB, free: 3.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02519/0.5936, allocations: 9.267 MB / 0.6085 GB, free: 9.855 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5936, allocations: 0 / 0.6085 GB, free: 9.855 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.373e-05/0.5937, allocations: 8 kB / 0.6085 GB, free: 9.848 MB / 426.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.001706/0.5954, allocations: 0.6906 MB / 0.6092 GB, free: 9.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.5955, allocations: 8.031 kB / 0.6092 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.5957, allocations: 90.52 kB / 0.6093 GB, free: 9.004 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.5958, allocations: 47.44 kB / 0.6093 GB, free: 8.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.5964, allocations: 312.2 kB / 0.6096 GB, free: 8.609 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.5964, allocations: 37 kB / 0.6096 GB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/0.5965, allocations: 40 kB / 0.6097 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009625/0.5975, allocations: 466.9 kB / 0.6101 GB, free: 8.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5975, allocations: 0 / 0.6101 GB, free: 8.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/0.5976, allocations: 23.98 kB / 0.6102 GB, free: 8.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.5976, allocations: 12 kB / 0.6102 GB, free: 8.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007224/0.5983, allocations: 331.8 kB / 0.6105 GB, free: 7.699 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.601, allocations: 1.703 MB / 0.6121 GB, free: 5.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005663/0.6015, allocations: 252.9 kB / 0.6124 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.6016, allocations: 0 / 0.6124 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.6016, allocations: 38.56 kB / 0.6124 GB, free: 5.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.6016, allocations: 0 / 0.6124 GB, free: 5.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002837/0.6045, allocations: 1.245 MB / 0.6136 GB, free: 4.227 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.6045, allocations: 81.11 kB / 0.6137 GB, free: 4.129 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.6048, allocations: 237.6 kB / 0.6139 GB, free: 3.895 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.6048, allocations: 33.7 kB / 0.614 GB, free: 3.855 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.605, allocations: 255.7 kB / 0.6142 GB, free: 3.602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.508e-05/0.6051, allocations: 118.2 kB / 0.6143 GB, free: 3.484 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.6051, allocations: 15.94 kB / 0.6143 GB, free: 3.469 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6053, allocations: 338.8 kB / 0.6147 GB, free: 3.129 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.6056, allocations: 104.8 kB / 0.6148 GB, free: 3.027 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.606, allocations: 203.9 kB / 0.615 GB, free: 2.793 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.6063, allocations: 147.7 kB / 0.6151 GB, free: 2.652 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6063, allocations: 0 / 0.6151 GB, free: 2.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008378/0.6071, allocations: 412.2 kB / 0.6155 GB, free: 2.242 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6072, allocations: 4 kB / 0.6155 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.6072, allocations: 4 kB / 0.6155 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.6073, allocations: 36.78 kB / 0.6155 GB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.6078, allocations: 115.9 kB / 0.6156 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.6091, allocations: 1.34 MB / 0.617 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.6094, allocations: 12 kB / 0.617 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.6094, allocations: 24.05 kB / 0.617 GB, free: 0.5703 MB / 426.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.0002599/0.6097, allocations: 165.7 kB / 0.6171 GB, free: 408 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.6098, allocations: 31.62 kB / 0.6172 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.953e-05/0.6099, allocations: 38.17 kB / 0.6172 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6099, allocations: 4 kB / 0.6172 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6099, allocations: 0 / 0.6172 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6099, allocations: 4 kB / 0.6172 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.6106, allocations: 417.3 kB / 0.6176 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.6106, allocations: 4 kB / 0.6176 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.611, allocations: 95.88 kB / 0.6177 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-05/0.6111, allocations: 24.84 kB / 0.6177 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.6112, allocations: 7.984 kB / 0.6177 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.6123, allocations: 1.336 MB / 0.6191 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6124, allocations: 4.031 kB / 0.6191 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.6134, allocations: 0.6116 MB / 0.6197 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.6135, allocations: 124.8 kB / 0.6198 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.6136, allocations: 8 kB / 0.6198 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.6139, allocations: 23.98 kB / 0.6198 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.6139, allocations: 23.92 kB / 0.6198 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.6139, allocations: 11.98 kB / 0.6198 GB, free: 13.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001821/0.6141, allocations: 182 kB / 0.62 GB, free: 13.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6141, allocations: 3.938 kB / 0.62 GB, free: 13.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004492/0.6146, allocations: 92 kB / 0.6201 GB, free: 13.14 MB / 442.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.001337/0.6159, allocations: 1.228 MB / 0.6213 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007958/0.6168, allocations: 402.3 kB / 0.6217 GB, free: 11.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6168, allocations: 0 / 0.6217 GB, free: 11.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.6171, allocations: 251.2 kB / 0.6219 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.6175, allocations: 42.61 kB / 0.622 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.6217, allocations: 4.018 MB / 0.6259 GB, free: 7.039 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.6221, allocations: 0.8229 MB / 0.6267 GB, free: 6.191 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.6223, allocations: 34.95 kB / 0.6267 GB, free: 6.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.6225, allocations: 135.4 kB / 0.6269 GB, free: 6.027 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6225, allocations: 0 / 0.6269 GB, free: 6.027 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.6425, allocations: 5.804 MB / 0.6325 GB, free: 420 kB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/0.6429, allocations: 208.3 kB / 0.6327 GB, free: 168 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.802, allocations: 7.062 kB / 0.6327 GB, free: 164 kB / 442.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)