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.001008/0.001008, allocations: 94.84 kB / 16.99 MB, free: 6.074 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.001067/0.001067, allocations: 182 kB / 17.88 MB, free: 5.695 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.39/1.39, allocations: 223.2 MB / 241.8 MB, free: 14.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.216/0.216, allocations: 44.21 MB / 337.1 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003315, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003368/0.1281, allocations: 2.814 MB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1295, allocations: 0.7757 MB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.1296, allocations: 11.94 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.441e-05/0.1297, allocations: 51.61 kB / 475.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.13, allocations: 139.6 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.1303, allocations: 103.8 kB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.1307, allocations: 359.7 kB / 475.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.131, allocations: 178.6 kB / 476 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.1313, allocations: 175.4 kB / 476.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.1315, allocations: 191.2 kB / 476.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.1316, allocations: 28 kB / 476.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.307e-05/0.1316, allocations: 24 kB / 476.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.1317, allocations: 79.67 kB / 476.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.439e-05/0.1318, allocations: 109.5 kB / 476.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.1321, allocations: 419 kB / 477 MB, free: 8.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1322, allocations: 0 / 477 MB, free: 8.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1322, allocations: 0 / 477 MB, free: 8.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1322, allocations: 0 / 477 MB, free: 8.18 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.001267/0.1334, allocations: 0.7095 MB / 477.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.1335, allocations: 8.031 kB / 477.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.1336, allocations: 86.52 kB / 477.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.1338, allocations: 47.44 kB / 477.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.1342, allocations: 304.3 kB / 478.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.1342, allocations: 37 kB / 478.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.1343, allocations: 51.89 kB / 478.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.1351, allocations: 466.9 kB / 478.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1351, allocations: 0 / 478.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.1351, allocations: 20 kB / 478.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.1352, allocations: 12 kB / 478.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007019/0.1359, allocations: 335.7 kB / 479 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.1383, allocations: 1.709 MB / 480.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.1388, allocations: 237 kB / 481 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1389, allocations: 4 kB / 481 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1389, allocations: 38.56 kB / 481 MB, free: 3.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.1389, allocations: 0 / 481 MB, free: 3.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002852/0.1418, allocations: 1.329 MB / 482.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1418, allocations: 81.11 kB / 482.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.1421, allocations: 258.6 kB / 482.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1421, allocations: 33.7 kB / 482.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.1423, allocations: 259.4 kB / 482.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.383e-05/0.1424, allocations: 118.3 kB / 483.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.1424, allocations: 4 kB / 483.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.1427, allocations: 342.8 kB / 483.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.1429, allocations: 112.8 kB / 483.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.1433, allocations: 215.4 kB / 483.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.1437, allocations: 138.3 kB / 483.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1437, allocations: 0 / 483.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008308/0.1445, allocations: 424.2 kB / 484.3 MB, free: 408 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1446, allocations: 4 kB / 484.3 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1446, allocations: 4.375 kB / 484.3 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.1447, allocations: 32.84 kB / 484.3 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.1452, allocations: 119.9 kB / 484.4 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.1464, allocations: 1.344 MB / 485.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.1467, allocations: 19.98 kB / 485.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.1467, allocations: 16 kB / 485.8 MB, free: 14.73 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 (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.0002417/0.147, allocations: 157.8 kB / 486 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.1471, allocations: 31.58 kB / 486 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.044e-05/0.1472, allocations: 46.23 kB / 486 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1472, allocations: 4 kB / 486 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1472, allocations: 0 / 486 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.1472, allocations: 3.984 kB / 486 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006242/0.1478, allocations: 425.3 kB / 486.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1478, allocations: 0 / 486.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.1483, allocations: 95.83 kB / 486.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.324e-05/0.1484, allocations: 28.84 kB / 486.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.1484, allocations: 8 kB / 486.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.1495, allocations: 1.328 MB / 487.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1495, allocations: 0 / 487.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1507, allocations: 0.6175 MB / 488.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1508, allocations: 120.8 kB / 488.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.1508, allocations: 11.98 kB / 488.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.1511, allocations: 23.98 kB / 488.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.1512, allocations: 19.97 kB / 488.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.1512, allocations: 12 kB / 488.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.1514, allocations: 182 kB / 488.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1514, allocations: 0 / 488.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004351/0.1519, allocations: 95.95 kB / 489 MB, free: 11.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * 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.001215/0.1531, allocations: 1.22 MB / 490.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000864/0.154, allocations: 411 kB / 490.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.154, allocations: 4.062 kB / 490.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.1544, allocations: 246.5 kB / 490.9 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.1548, allocations: 36.81 kB / 490.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.1589, allocations: 4.184 MB / 495.1 MB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.1594, allocations: 0.823 MB / 495.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.1596, allocations: 34.95 kB / 495.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.1597, allocations: 139.4 kB / 496.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1597, allocations: 0 / 496.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.1773, allocations: 5.758 MB / 0.4901 GB, free: 14.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.1776, allocations: 211.8 kB / 0.4903 GB, free: 14.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.016, allocations: 3.938 kB / 0.4903 GB, free: 14.19 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)