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.001168/0.001169, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 97.73 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 45.14 MB / 383.8 MB, free: 308 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.488e-05/1.491e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 63.24 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4067/0.5155, allocations: 92.22 MB / 0.5945 GB, free: 10.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.5157, allocations: 71.03 kB / 0.5946 GB, free: 10.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02323/0.5389, allocations: 9.23 MB / 0.6036 GB, free: 2.387 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.539, allocations: 0 / 0.6036 GB, free: 2.387 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.539, allocations: 12 kB / 0.6036 GB, free: 2.375 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.0009852/0.54, allocations: 0.6652 MB / 0.6043 GB, free: 1.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.54, allocations: 8.031 kB / 0.6043 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.5401, allocations: 51.39 kB / 0.6043 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.5405, allocations: 307.8 kB / 0.6046 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.5406, allocations: 16 kB / 0.6046 GB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.5406, allocations: 28 kB / 0.6046 GB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004365/0.5411, allocations: 254.2 kB / 0.6049 GB, free: 1.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/0.5417, allocations: 367.6 kB / 0.6052 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5417, allocations: 0 / 0.6052 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.5417, allocations: 4 kB / 0.6052 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.5417, allocations: 12 kB / 0.6053 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.5439, allocations: 1.622 MB / 0.6068 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.5442, allocations: 206.6 kB / 0.607 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.5444, allocations: 113.3 kB / 0.6071 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.5444, allocations: 1.125 kB / 0.6071 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.5445, allocations: 41.61 kB / 0.6072 GB, free: 15.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.5445, allocations: 3.938 kB / 0.6072 GB, free: 15.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001775/0.5462, allocations: 1.019 MB / 0.6082 GB, free: 14.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.5463, allocations: 85.02 kB / 0.6083 GB, free: 13.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.5465, allocations: 213.5 kB / 0.6085 GB, free: 13.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.5465, allocations: 25.7 kB / 0.6085 GB, free: 13.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.5467, allocations: 252.8 kB / 0.6087 GB, free: 13.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.5468, allocations: 118 kB / 0.6088 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.5468, allocations: 0 / 0.6088 GB, free: 13.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5469, allocations: 344.7 kB / 0.6092 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.547, allocations: 77.94 kB / 0.6092 GB, free: 13.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.5472, allocations: 176.8 kB / 0.6094 GB, free: 12.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.5474, allocations: 111.7 kB / 0.6095 GB, free: 12.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5474, allocations: 0 / 0.6095 GB, free: 12.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005034/0.5479, allocations: 345.9 kB / 0.6099 GB, free: 12.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5479, allocations: 4 kB / 0.6099 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.548, allocations: 4 kB / 0.6099 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.5481, allocations: 31.94 kB / 0.6099 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.5485, allocations: 123.6 kB / 0.61 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009648/0.5495, allocations: 1.278 MB / 0.6113 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.5497, allocations: 15.89 kB / 0.6113 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.5498, allocations: 19.88 kB / 0.6113 GB, free: 11.02 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.0001003/0.5499, allocations: 116.8 kB / 0.6114 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003821/0.5503, allocations: 250.3 kB / 0.6116 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.5503, allocations: 27.72 kB / 0.6117 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.5504, allocations: 31.92 kB / 0.6117 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5504, allocations: 7.984 kB / 0.6117 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5504, allocations: 4 kB / 0.6117 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5504, allocations: 0 / 0.6117 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008131/0.5513, allocations: 0.6158 MB / 0.6123 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5513, allocations: 7.938 kB / 0.6123 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.5517, allocations: 91.5 kB / 0.6124 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.869e-05/0.5518, allocations: 28.67 kB / 0.6124 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.5518, allocations: 3.984 kB / 0.6124 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008592/0.5527, allocations: 1.274 MB / 0.6137 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5527, allocations: 4.031 kB / 0.6137 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.5533, allocations: 0.5623 MB / 0.6142 GB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.5535, allocations: 119.4 kB / 0.6143 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.5535, allocations: 15.95 kB / 0.6144 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.5538, allocations: 15.98 kB / 0.6144 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.5538, allocations: 23.72 kB / 0.6144 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.5539, allocations: 10.25 kB / 0.6144 GB, free: 7.961 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001401/0.554, allocations: 165.2 kB / 0.6146 GB, free: 7.836 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.554, allocations: 0 / 0.6146 GB, free: 7.836 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.5544, allocations: 87.94 kB / 0.6147 GB, free: 7.75 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.0009194/0.5553, allocations: 1.3 MB / 0.6159 GB, free: 6.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.5558, allocations: 339.8 kB / 0.6162 GB, free: 6.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5558, allocations: 0.6875 kB / 0.6162 GB, free: 6.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.5561, allocations: 226.6 kB / 0.6165 GB, free: 6.035 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.5564, allocations: 40.89 kB / 0.6165 GB, free: 6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.5577, allocations: 0.7104 MB / 0.6172 GB, free: 5.285 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.5581, allocations: 0.8269 MB / 0.618 GB, free: 4.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.5583, allocations: 39.27 kB / 0.618 GB, free: 4.395 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.5584, allocations: 136.6 kB / 0.6182 GB, free: 4.359 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5584, allocations: 0 / 0.6182 GB, free: 4.359 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.5846, allocations: 5.23 MB / 0.6233 GB, free: 15.17 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.5849, allocations: 136.7 kB / 0.6234 GB, free: 14.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.42, allocations: 0 / 0.6234 GB, free: 14.98 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)