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.001039/0.001039, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001195/0.001194, allocations: 192 kB / 18.56 MB, free: 4.434 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.283/1.283, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.1979/0.1979, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 68.56 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1329, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00525/0.1382, allocations: 3.487 MB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1396, allocations: 0.8062 MB / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.1398, allocations: 8 kB / 473.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1401, allocations: 75.23 kB / 473.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.1404, allocations: 130.8 kB / 473.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.1407, allocations: 131.7 kB / 474 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004644/0.1412, allocations: 0.5178 MB / 474.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.1416, allocations: 242.1 kB / 474.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.1418, allocations: 211.3 kB / 474.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.1421, allocations: 234.9 kB / 475.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.009e-05/0.1422, allocations: 48 kB / 475.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.551e-05/0.1422, allocations: 48 kB / 475.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.977e-05/0.1423, allocations: 111.6 kB / 475.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.1426, allocations: 254.8 kB / 475.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.143, allocations: 0.5527 MB / 476.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1431, allocations: 0 / 476.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1431, allocations: 4 kB / 476.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.1431, allocations: 0 / 476.2 MB, free: 7.391 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.001384/0.1445, allocations: 0.7564 MB / 476.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1445, allocations: 12.03 kB / 477 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.871e-05/0.1446, allocations: 86.7 kB / 477 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.1448, allocations: 52.28 kB / 477.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1451, allocations: 305.5 kB / 477.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.1452, allocations: 41.36 kB / 477.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.1452, allocations: 48.38 kB / 477.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/0.146, allocations: 467 kB / 477.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.146, allocations: 0 / 477.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.1461, allocations: 20 kB / 478 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.1461, allocations: 12 kB / 478 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007002/0.1468, allocations: 323.8 kB / 478.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.1493, allocations: 1.693 MB / 480 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.1499, allocations: 243.7 kB / 480.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.1503, allocations: 145.6 kB / 480.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1503, allocations: 0 / 480.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1504, allocations: 38.56 kB / 480.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.172e-06/0.1504, allocations: 3.938 kB / 480.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.003004/0.1534, allocations: 1.337 MB / 481.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.1535, allocations: 85.05 kB / 481.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.1537, allocations: 266.5 kB / 482.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1538, allocations: 37.7 kB / 482.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.154, allocations: 247.5 kB / 482.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.626e-05/0.1541, allocations: 130.2 kB / 482.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1542, allocations: 78.03 kB / 482.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1543, allocations: 338.8 kB / 482.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.1546, allocations: 108.8 kB / 483 MB, free: 144 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.155, allocations: 208.3 kB / 483.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.1556, allocations: 331.8 kB / 483.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1556, allocations: 4 kB / 483.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008021/0.1564, allocations: 421.3 kB / 483.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1565, allocations: 8 kB / 483.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1565, allocations: 4 kB / 483.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/0.1566, allocations: 37.16 kB / 484 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.1571, allocations: 123.8 kB / 484.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.1583, allocations: 1.438 MB / 485.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.1585, allocations: 12 kB / 485.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.1585, allocations: 19.98 kB / 485.6 MB, free: 13.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.1587, allocations: 169.7 kB / 485.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.1588, allocations: 31.72 kB / 485.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.023e-05/0.1589, allocations: 34.17 kB / 485.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1589, allocations: 4 kB / 485.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1589, allocations: 4 kB / 485.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1589, allocations: 4 kB / 485.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.16, allocations: 0.7153 MB / 486.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.16, allocations: 4 kB / 486.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.1604, allocations: 87.88 kB / 486.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-05/0.1605, allocations: 32.84 kB / 486.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.1605, allocations: 15.94 kB / 486.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000995/0.1615, allocations: 1.422 MB / 488.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1616, allocations: 4.031 kB / 488.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.1626, allocations: 0.598 MB / 488.7 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.1629, allocations: 124.8 kB / 488.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.1629, allocations: 8 kB / 488.8 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.1632, allocations: 27.86 kB / 488.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.1632, allocations: 31.89 kB / 488.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1633, allocations: 12 kB / 488.9 MB, free: 9.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.1634, allocations: 182 kB / 489.1 MB, free: 9.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1634, allocations: 0 / 489.1 MB, free: 9.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000439/0.1639, allocations: 92 kB / 489.2 MB, free: 9.48 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001418/0.1653, allocations: 1.15 MB / 490.3 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008397/0.1662, allocations: 414.3 kB / 490.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1662, allocations: 0.75 kB / 490.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.1667, allocations: 260.9 kB / 491 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.1672, allocations: 40.55 kB / 491 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/0.1723, allocations: 3.483 MB / 494.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1727, allocations: 0.8035 MB / 495.3 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.1729, allocations: 46.94 kB / 495.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.1731, allocations: 135.4 kB / 495.5 MB, free: 2.898 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1731, allocations: 0 / 495.5 MB, free: 2.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.2058, allocations: 6.36 MB / 0.4901 GB, free: 12.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.596/9.802, allocations: 8.953 kB / 0.4901 GB, free: 12.66 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/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)