Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00099/0.00099, allocations: 195.5 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008107/0.0008107, allocations: 86.39 kB / 292.1 MB, free: 6.027 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1714/0.1714, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.426e-05/2.43e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09314/0.09318, allocations: 63.24 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3389/0.4321, allocations: 92.88 MB / 0.6022 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/0.4323, allocations: 71.28 kB / 0.6022 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02264/0.455, allocations: 9.311 MB / 0.6113 GB, free: 8.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.455, allocations: 0 / 0.6113 GB, free: 8.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.455, allocations: 8 kB / 0.6113 GB, free: 8.723 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.0009088/0.4559, allocations: 0.6636 MB / 0.612 GB, free: 8.043 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.456, allocations: 15.95 kB / 0.612 GB, free: 8.027 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.826e-05/0.4561, allocations: 86.59 kB / 0.6121 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.4562, allocations: 51.39 kB / 0.6121 GB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.4565, allocations: 306.9 kB / 0.6124 GB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.4565, allocations: 35 kB / 0.6124 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.4566, allocations: 42.19 kB / 0.6125 GB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005838/0.4572, allocations: 442 kB / 0.6129 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4572, allocations: 3.938 kB / 0.6129 GB, free: 7.238 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.4573, allocations: 18.19 kB / 0.6129 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.4573, allocations: 15.94 kB / 0.6129 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.4577, allocations: 279.5 kB / 0.6132 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.4598, allocations: 1.711 MB / 0.6149 GB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.4601, allocations: 211.7 kB / 0.6151 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.4603, allocations: 122.7 kB / 0.6152 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4604, allocations: 11.98 kB / 0.6152 GB, free: 5.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.4604, allocations: 37.75 kB / 0.6152 GB, free: 5.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.4604, allocations: 3.938 kB / 0.6153 GB, free: 5.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.00185/0.4623, allocations: 1.109 MB / 0.6163 GB, free: 4.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.4623, allocations: 84.55 kB / 0.6164 GB, free: 4.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.4625, allocations: 228 kB / 0.6166 GB, free: 3.844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.4625, allocations: 29.39 kB / 0.6167 GB, free: 3.812 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.4627, allocations: 257.3 kB / 0.6169 GB, free: 3.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.4628, allocations: 119.2 kB / 0.617 GB, free: 3.492 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.4628, allocations: 10.81 kB / 0.617 GB, free: 3.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4629, allocations: 343.7 kB / 0.6174 GB, free: 3.156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.4631, allocations: 93.31 kB / 0.6174 GB, free: 3.098 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.4633, allocations: 183.2 kB / 0.6176 GB, free: 2.914 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.4634, allocations: 111.5 kB / 0.6177 GB, free: 2.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4634, allocations: 0 / 0.6177 GB, free: 2.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005271/0.464, allocations: 388.3 kB / 0.6181 GB, free: 2.543 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.464, allocations: 13.55 kB / 0.6181 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.464, allocations: 0 / 0.6181 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.4641, allocations: 40.33 kB / 0.6182 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.4646, allocations: 119.1 kB / 0.6183 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008517/0.4654, allocations: 1.338 MB / 0.6196 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.4657, allocations: 18.3 kB / 0.6196 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.4657, allocations: 15 kB / 0.6196 GB, free: 0.9492 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 8.827e-05/0.4658, allocations: 133.6 kB / 0.6197 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.4659, allocations: 27.69 kB / 0.6198 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.4659, allocations: 45.52 kB / 0.6198 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4659, allocations: 4 kB / 0.6198 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.466, allocations: 0 / 0.6198 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.466, allocations: 3.953 kB / 0.6198 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008233/0.4668, allocations: 0.7044 MB / 0.6205 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4668, allocations: 7.969 kB / 0.6205 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.4672, allocations: 99.67 kB / 0.6206 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.644e-05/0.4673, allocations: 20.67 kB / 0.6206 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.4673, allocations: 11.3 kB / 0.6206 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007633/0.4681, allocations: 1.322 MB / 0.6219 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4681, allocations: 0 / 0.6219 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.4687, allocations: 0.5944 MB / 0.6225 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.4688, allocations: 123.2 kB / 0.6226 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.4688, allocations: 7.391 kB / 0.6226 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.4691, allocations: 31.17 kB / 0.6227 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.4692, allocations: 27.89 kB / 0.6227 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.4692, allocations: 6.812 kB / 0.6227 GB, free: 13.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.4693, allocations: 183.6 kB / 0.6229 GB, free: 13.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4693, allocations: 0 / 0.6229 GB, free: 13.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.4697, allocations: 90.44 kB / 0.6229 GB, free: 13.69 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.0008938/0.4706, allocations: 1.346 MB / 0.6243 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.4711, allocations: 362.6 kB / 0.6246 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4711, allocations: 0 / 0.6246 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.4714, allocations: 233.2 kB / 0.6248 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.4717, allocations: 46.11 kB / 0.6249 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.473, allocations: 0.7573 MB / 0.6256 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.4733, allocations: 0.8191 MB / 0.6264 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.4735, allocations: 34.95 kB / 0.6264 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4736, allocations: 135 kB / 0.6266 GB, free: 10.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4736, allocations: 0 / 0.6266 GB, free: 10.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.4897, allocations: 5.912 MB / 0.6324 GB, free: 4.504 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.4899, allocations: 172.6 kB / 0.6325 GB, free: 4.281 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.288, allocations: 0 / 0.6325 GB, free: 4.281 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1)