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.001356/0.001356, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008953/0.0008955, allocations: 111.3 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3935/0.3935, allocations: 45.23 MB / 394.6 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002701, allocations: 4 kB / 468.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4032, allocations: 63.26 MB / 0.5193 GB, free: 43.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.5421, allocations: 92.95 MB / 0.61 GB, free: 12.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.5424, allocations: 75.92 kB / 0.6101 GB, free: 12.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02536/0.5678, allocations: 9.315 MB / 0.6192 GB, free: 3.297 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5678, allocations: 0 / 0.6192 GB, free: 3.297 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.5678, allocations: 8 kB / 0.6192 GB, free: 3.289 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.00114/0.569, allocations: 0.6945 MB / 0.6199 GB, free: 2.547 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.569, allocations: 8.031 kB / 0.6199 GB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.5691, allocations: 86.52 kB / 0.62 GB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.963e-05/0.5692, allocations: 59.3 kB / 0.62 GB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.5697, allocations: 308.3 kB / 0.6203 GB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.5697, allocations: 37 kB / 0.6204 GB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.5698, allocations: 47.94 kB / 0.6204 GB, free: 1.961 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/0.5706, allocations: 459 kB / 0.6209 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.5706, allocations: 7.984 kB / 0.6209 GB, free: 1.488 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.5707, allocations: 24 kB / 0.6209 GB, free: 1.465 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.5707, allocations: 8 kB / 0.6209 GB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007076/0.5714, allocations: 327.8 kB / 0.6212 GB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.5739, allocations: 1.721 MB / 0.6229 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/0.5745, allocations: 249 kB / 0.6231 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.5745, allocations: 4 kB / 0.6231 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.5746, allocations: 30.56 kB / 0.6232 GB, free: 15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 2.365e-06/0.5746, allocations: 4 kB / 0.6232 GB, free: 15 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002799/0.5774, allocations: 1.243 MB / 0.6244 GB, free: 13.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.5775, allocations: 85.09 kB / 0.6245 GB, free: 13.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.5777, allocations: 229.7 kB / 0.6247 GB, free: 13.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.5778, allocations: 33.7 kB / 0.6247 GB, free: 13.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.5779, allocations: 255.5 kB / 0.6249 GB, free: 13.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/0.578, allocations: 114.3 kB / 0.6251 GB, free: 12.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.578, allocations: 12 kB / 0.6251 GB, free: 12.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5782, allocations: 339.2 kB / 0.6254 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.5784, allocations: 108.8 kB / 0.6255 GB, free: 12.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.5788, allocations: 211.4 kB / 0.6257 GB, free: 12.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.5791, allocations: 134.3 kB / 0.6258 GB, free: 12.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5791, allocations: 4 kB / 0.6258 GB, free: 12.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000809/0.5799, allocations: 416.2 kB / 0.6262 GB, free: 11.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.58, allocations: 10.66 kB / 0.6262 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.58, allocations: 0 / 0.6262 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.5801, allocations: 32.84 kB / 0.6263 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.5806, allocations: 119.9 kB / 0.6264 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.5818, allocations: 1.343 MB / 0.6277 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.5821, allocations: 15.98 kB / 0.6277 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.5821, allocations: 16 kB / 0.6277 GB, free: 9.996 MB / 442.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.0002478/0.5824, allocations: 161.8 kB / 0.6279 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/0.5825, allocations: 31.62 kB / 0.6279 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.116e-05/0.5825, allocations: 42.11 kB / 0.6279 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.5826, allocations: 4 kB / 0.628 GB, free: 9.746 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5826, allocations: 4 kB / 0.628 GB, free: 9.742 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.5826, allocations: 3.953 kB / 0.628 GB, free: 9.738 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000567/0.5831, allocations: 413.4 kB / 0.6284 GB, free: 9.285 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.5832, allocations: 7.984 kB / 0.6284 GB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.5836, allocations: 95.88 kB / 0.6285 GB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.37e-05/0.5837, allocations: 24.84 kB / 0.6285 GB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.5837, allocations: 8 kB / 0.6285 GB, free: 9.148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009938/0.5847, allocations: 1.328 MB / 0.6298 GB, free: 7.691 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5848, allocations: 0 / 0.6298 GB, free: 7.691 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.5858, allocations: 0.6159 MB / 0.6304 GB, free: 7.051 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.5859, allocations: 120.8 kB / 0.6305 GB, free: 6.914 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.586, allocations: 15.95 kB / 0.6305 GB, free: 6.898 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.5863, allocations: 23.98 kB / 0.6305 GB, free: 6.875 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.5863, allocations: 27.95 kB / 0.6306 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.5864, allocations: 4 kB / 0.6306 GB, free: 6.844 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001811/0.5865, allocations: 182 kB / 0.6307 GB, free: 6.668 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.844e-06/0.5866, allocations: 0 / 0.6307 GB, free: 6.668 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004637/0.587, allocations: 99.94 kB / 0.6308 GB, free: 6.57 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.001443/0.5885, allocations: 1.218 MB / 0.632 GB, free: 5.316 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008245/0.5893, allocations: 407.3 kB / 0.6324 GB, free: 4.906 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5893, allocations: 0 / 0.6324 GB, free: 4.906 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.5897, allocations: 255.2 kB / 0.6327 GB, free: 4.645 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.5901, allocations: 40.5 kB / 0.6327 GB, free: 4.605 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/0.5946, allocations: 4.021 MB / 0.6366 GB, free: 476 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.5951, allocations: 0.823 MB / 0.6374 GB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.5953, allocations: 38.89 kB / 0.6375 GB, free: 15.58 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.5955, allocations: 135.3 kB / 0.6376 GB, free: 15.45 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5955, allocations: 0 / 0.6376 GB, free: 15.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.6163, allocations: 5.808 MB / 0.6433 GB, free: 9.867 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/0.6166, allocations: 200.5 kB / 0.6435 GB, free: 9.629 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.196/2.812, allocations: 3.938 kB / 0.6435 GB, free: 9.625 MB / 458.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)