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.0008962/0.0008962, allocations: 97.88 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009349/0.0009348, allocations: 198.3 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 45.92 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002459/0.0002459, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 63.46 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003809/0.1373, allocations: 2.835 MB / 484.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.139, allocations: 0.8223 MB / 485.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.1392, allocations: 8 kB / 485.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.359e-05/0.1393, allocations: 51.59 kB / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.1396, allocations: 135.6 kB / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.1399, allocations: 99.84 kB / 485.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.1403, allocations: 351.8 kB / 485.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002894/0.1406, allocations: 182.6 kB / 486 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.1408, allocations: 167.4 kB / 486.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.1411, allocations: 195.1 kB / 486.3 MB, free: 440 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.1411, allocations: 24 kB / 486.4 MB, free: 416 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.415e-05/0.1412, allocations: 28 kB / 486.4 MB, free: 388 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.1413, allocations: 79.69 kB / 486.5 MB, free: 308 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.1414, allocations: 113.4 kB / 486.6 MB, free: 188 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.1418, allocations: 419.1 kB / 487 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1418, allocations: 0 / 487 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1418, allocations: 0 / 487 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1418, allocations: 0 / 487 MB, free: 15.77 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.001193/0.143, allocations: 0.7054 MB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.143, allocations: 8.031 kB / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.675e-05/0.1431, allocations: 86.52 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.1432, allocations: 47.44 kB / 487.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.1436, allocations: 316.2 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.1437, allocations: 37 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.1437, allocations: 40 kB / 488.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/0.1445, allocations: 466.9 kB / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1445, allocations: 0 / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.1446, allocations: 20 kB / 488.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1446, allocations: 12 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007101/0.1453, allocations: 331.8 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.1478, allocations: 1.697 MB / 490.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.1484, allocations: 237 kB / 491 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.1484, allocations: 4 kB / 491 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/0.1485, allocations: 42.55 kB / 491 MB, free: 11.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.502e-06/0.1485, allocations: 0 / 491 MB, free: 11.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002834/0.1513, allocations: 1.336 MB / 492.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.1514, allocations: 81.11 kB / 492.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.1517, allocations: 270.5 kB / 492.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.1517, allocations: 29.7 kB / 492.7 MB, free: 9.637 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1519, allocations: 259.4 kB / 493 MB, free: 9.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-05/0.152, allocations: 122.3 kB / 493.1 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.152, allocations: 4 kB / 493.1 MB, free: 9.254 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1522, allocations: 338.8 kB / 493.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.1525, allocations: 116.8 kB / 493.5 MB, free: 8.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.1528, allocations: 212.3 kB / 493.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.1531, allocations: 142.4 kB / 493.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1531, allocations: 0 / 493.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008198/0.154, allocations: 420.2 kB / 494.3 MB, free: 7.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.154, allocations: 8 kB / 494.3 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.154, allocations: 0 / 494.3 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.1542, allocations: 32.78 kB / 494.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.1547, allocations: 120.1 kB / 494.4 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.1558, allocations: 1.336 MB / 495.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.1561, allocations: 20.06 kB / 495.8 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.1561, allocations: 23.89 kB / 495.8 MB, free: 6.32 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.0001932/0.1563, allocations: 162.3 kB / 496 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.308e-05/0.1564, allocations: 31.62 kB / 496 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.1565, allocations: 38.17 kB / 496.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1565, allocations: 4 kB / 496.1 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1565, allocations: 4 kB / 496.1 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1565, allocations: 4 kB / 496.1 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.157, allocations: 417.3 kB / 496.5 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1571, allocations: 0 / 496.5 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.1575, allocations: 95.88 kB / 496.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-05/0.1576, allocations: 24.84 kB / 496.6 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1576, allocations: 4 kB / 496.6 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009745/0.1586, allocations: 1.331 MB / 497.9 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1586, allocations: 4.312 kB / 497.9 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.1596, allocations: 0.6162 MB / 498.5 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.1598, allocations: 128.8 kB / 498.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.1598, allocations: 8 kB / 498.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.1601, allocations: 23.94 kB / 498.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.1602, allocations: 15.97 kB / 498.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.1602, allocations: 12 kB / 498.7 MB, free: 3.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.1604, allocations: 186 kB / 498.9 MB, free: 3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1604, allocations: 4 kB / 498.9 MB, free: 2.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004562/0.1608, allocations: 92 kB / 499 MB, free: 2.906 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.001327/0.1622, allocations: 1.224 MB / 0.4885 GB, free: 1.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008424/0.163, allocations: 412.6 kB / 0.4889 GB, free: 1.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.163, allocations: 0.75 kB / 0.4889 GB, free: 1.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.1634, allocations: 250.5 kB / 0.4891 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1638, allocations: 34.73 kB / 0.4892 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.1681, allocations: 4.187 MB / 0.4933 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.1686, allocations: 0.8191 MB / 0.4941 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.1688, allocations: 34.95 kB / 0.4941 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.1689, allocations: 143.4 kB / 0.4942 GB, free: 11.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.472e-06/0.169, allocations: 0 / 0.4942 GB, free: 11.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.1869, allocations: 5.766 MB / 0.4999 GB, free: 6.027 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.1871, allocations: 200.1 kB / 0.5001 GB, free: 5.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.026, allocations: 0 / 0.5001 GB, free: 5.793 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)