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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 96.89 kB / 17.01 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 197.8 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.269/0.269, allocations: 45.91 MB / 344.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002623, allocations: 7.938 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 63.46 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003564/0.1292, allocations: 3.01 MB / 484.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1308, allocations: 0.787 MB / 485.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.131, allocations: 11.94 kB / 485.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.1312, allocations: 51.61 kB / 485.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.1314, allocations: 99.16 kB / 485.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.1318, allocations: 107.8 kB / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.1323, allocations: 490.4 kB / 486.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.1327, allocations: 178.6 kB / 486.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.1329, allocations: 171.4 kB / 486.5 MB, free: 360 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.1331, allocations: 199.1 kB / 486.7 MB, free: 160 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.1332, allocations: 24 kB / 486.7 MB, free: 136 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.1333, allocations: 28 kB / 486.8 MB, free: 108 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.1333, allocations: 75.69 kB / 486.8 MB, free: 32 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1335, allocations: 109.5 kB / 486.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.1339, allocations: 426.9 kB / 487.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1339, allocations: 0 / 487.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1339, allocations: 0 / 487.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1339, allocations: 0 / 487.4 MB, free: 15.5 MB / 366.1 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.001175/0.1351, allocations: 0.7017 MB / 488.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1351, allocations: 8.031 kB / 488.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.07e-05/0.1352, allocations: 90.52 kB / 488.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.1353, allocations: 47.44 kB / 488.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.1357, allocations: 316.2 kB / 488.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.1357, allocations: 33 kB / 488.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/0.1358, allocations: 44 kB / 488.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008026/0.1366, allocations: 467 kB / 489 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1367, allocations: 0 / 489 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.1367, allocations: 20 kB / 489.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.1367, allocations: 12 kB / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/0.1375, allocations: 335.8 kB / 489.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.14, allocations: 1.697 MB / 491.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.1405, allocations: 244.9 kB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.1409, allocations: 137.7 kB / 491.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1409, allocations: 8 kB / 491.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1409, allocations: 34.56 kB / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.394e-06/0.141, allocations: 0 / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002951/0.1439, allocations: 1.367 MB / 492.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.144, allocations: 81.11 kB / 493 MB, free: 9.488 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.1442, allocations: 254.6 kB / 493.2 MB, free: 9.234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.1443, allocations: 33.7 kB / 493.2 MB, free: 9.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.1444, allocations: 259.4 kB / 493.5 MB, free: 8.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.1445, allocations: 126.2 kB / 493.6 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.1446, allocations: 8 kB / 493.6 MB, free: 8.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1447, allocations: 342.8 kB / 494 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.145, allocations: 104.8 kB / 494.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.1453, allocations: 220.4 kB / 494.3 MB, free: 8.102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.1456, allocations: 140.9 kB / 494.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1456, allocations: 0 / 494.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008167/0.1464, allocations: 422.4 kB / 494.8 MB, free: 7.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.1465, allocations: 8 kB / 494.8 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.1465, allocations: 11.92 kB / 494.9 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.1467, allocations: 28.84 kB / 494.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.1471, allocations: 124 kB / 495 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.1482, allocations: 1.335 MB / 496.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.1484, allocations: 24 kB / 496.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.1485, allocations: 16 kB / 496.4 MB, free: 5.863 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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.0001982/0.1487, allocations: 166.2 kB / 496.5 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.1487, allocations: 35.61 kB / 496.6 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.044e-05/0.1488, allocations: 38.19 kB / 496.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1488, allocations: 4 kB / 496.6 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1488, allocations: 4 kB / 496.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1489, allocations: 3.984 kB / 496.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.1499, allocations: 0.7154 MB / 497.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.15, allocations: 4.062 kB / 497.3 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.1504, allocations: 95.88 kB / 497.4 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.479e-05/0.1505, allocations: 36.73 kB / 497.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.1505, allocations: 4 kB / 497.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008876/0.1514, allocations: 1.324 MB / 498.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1514, allocations: 3.938 kB / 498.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009557/0.1524, allocations: 0.6254 MB / 499.4 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.1525, allocations: 124.7 kB / 499.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.1525, allocations: 8 kB / 499.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.1528, allocations: 19.98 kB / 499.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.1529, allocations: 23.97 kB / 499.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.1529, allocations: 12 kB / 499.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.1531, allocations: 186 kB / 499.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1531, allocations: 0 / 499.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000489/0.1536, allocations: 92 kB / 499.9 MB, free: 2.102 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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.001302/0.1549, allocations: 1.161 MB / 0.4893 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000853/0.1558, allocations: 406.4 kB / 0.4897 GB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1558, allocations: 0 / 0.4897 GB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.1562, allocations: 262.4 kB / 0.4899 GB, free: 236 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.1567, allocations: 52.86 kB / 0.49 GB, free: 184 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.1602, allocations: 2.243 MB / 0.4922 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.1607, allocations: 0.8113 MB / 0.493 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.1609, allocations: 38.95 kB / 0.493 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.1611, allocations: 135.4 kB / 0.4931 GB, free: 12.82 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1611, allocations: 0 / 0.4931 GB, free: 12.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.1791, allocations: 5.833 MB / 0.4988 GB, free: 7.172 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.1793, allocations: 205.7 kB / 0.499 GB, free: 6.934 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.152, allocations: 0 / 0.499 GB, free: 6.934 MB / 382.1 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)