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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008331/0.0008332, allocations: 102.3 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 181.7 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.3 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2199/0.2199, allocations: 44.23 MB / 337.2 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002894, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003908/0.1289, allocations: 2.989 MB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1306, allocations: 0.7598 MB / 475.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.1309, allocations: 12 kB / 475.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1311, allocations: 51.55 kB / 475.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.1313, allocations: 103.1 kB / 475.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.1317, allocations: 95.91 kB / 475.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005532/0.1323, allocations: 494.2 kB / 476.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/0.1327, allocations: 178.7 kB / 476.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.133, allocations: 171.3 kB / 476.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.1333, allocations: 199.1 kB / 476.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.2e-05/0.1333, allocations: 24 kB / 476.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.1334, allocations: 28 kB / 476.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.293e-05/0.1335, allocations: 79.69 kB / 476.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1336, allocations: 117.4 kB / 476.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.1341, allocations: 415 kB / 477.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.1341, allocations: 0 / 477.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1341, allocations: 0 / 477.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1341, allocations: 0 / 477.3 MB, free: 7.906 MB / 350.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.00139/0.1355, allocations: 0.7017 MB / 478 MB, free: 7.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.1356, allocations: 15.97 kB / 478 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.1357, allocations: 90.52 kB / 478.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.1358, allocations: 47.44 kB / 478.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.1363, allocations: 304.3 kB / 478.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.1364, allocations: 29 kB / 478.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.121e-05/0.1365, allocations: 55.89 kB / 478.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.1373, allocations: 467 kB / 479 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1373, allocations: 0 / 479 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.1373, allocations: 19.98 kB / 479 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.1374, allocations: 12 kB / 479 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006587/0.138, allocations: 339.8 kB / 479.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.1404, allocations: 1.697 MB / 481.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.141, allocations: 245 kB / 481.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.1413, allocations: 133.7 kB / 481.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.1413, allocations: 8 kB / 481.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1413, allocations: 42.48 kB / 481.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.1413, allocations: 0 / 481.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002975/0.1443, allocations: 1.358 MB / 482.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.1444, allocations: 81.11 kB / 482.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.1447, allocations: 258.6 kB / 483.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.1447, allocations: 37.7 kB / 483.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1449, allocations: 263.4 kB / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.145, allocations: 118.3 kB / 483.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.1451, allocations: 8 kB / 483.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1452, allocations: 342.8 kB / 483.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.1455, allocations: 104.8 kB / 484 MB, free: 0.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.1458, allocations: 216.5 kB / 484.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.1462, allocations: 132.9 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1462, allocations: 4 kB / 484.4 MB, free: 376 kB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008224/0.147, allocations: 429.9 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.147, allocations: 11.98 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.1471, allocations: 4 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.1472, allocations: 32.84 kB / 484.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.1477, allocations: 128 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.149, allocations: 1.336 MB / 486.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.1492, allocations: 19.94 kB / 486.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.1492, allocations: 16 kB / 486.3 MB, free: 14.26 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.0001987/0.1494, allocations: 169.6 kB / 486.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.475e-05/0.1495, allocations: 35.58 kB / 486.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.1496, allocations: 42.17 kB / 486.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1496, allocations: 8.062 kB / 486.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1496, allocations: 0 / 486.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1496, allocations: 0 / 486.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.1507, allocations: 0.7193 MB / 487.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1507, allocations: 0 / 487.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.1511, allocations: 95.88 kB / 487.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-05/0.1512, allocations: 24.84 kB / 487.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.1512, allocations: 8 kB / 487.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.1523, allocations: 1.332 MB / 488.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1523, allocations: 3.953 kB / 488.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009799/0.1533, allocations: 0.6137 MB / 489.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.1534, allocations: 120.8 kB / 489.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.1534, allocations: 15.95 kB / 489.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.1537, allocations: 19.98 kB / 489.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.1538, allocations: 27.97 kB / 489.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.1538, allocations: 8 kB / 489.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.154, allocations: 189.9 kB / 489.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.154, allocations: 0 / 489.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004486/0.1544, allocations: 92 kB / 489.8 MB, free: 10.5 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.001268/0.1557, allocations: 1.149 MB / 491 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008202/0.1566, allocations: 409.2 kB / 491.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1566, allocations: 0 / 491.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.157, allocations: 254.4 kB / 491.6 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.1576, allocations: 57.73 kB / 491.7 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.1612, allocations: 2.257 MB / 494 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1616, allocations: 0.8152 MB / 494.8 MB, free: 5.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000171/0.1618, allocations: 30.97 kB / 494.8 MB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.162, allocations: 135.4 kB / 494.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of SimCode: time 1.633e-06/0.162, allocations: 0 / 494.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.1802, allocations: 5.845 MB / 0.489 GB, free: 15.56 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.1804, allocations: 206 kB / 0.4892 GB, free: 15.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.112, allocations: 4 kB / 0.4892 GB, free: 15.32 MB / 382.1 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)