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.001285/0.001286, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 77.53 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1207, allocations: 62.45 MB / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005481/0.1263, allocations: 3.549 MB / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1281, allocations: 0.8218 MB / 483.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003962/0.1285, allocations: 8 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1288, allocations: 55.55 kB / 483.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.1292, allocations: 107.1 kB / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.1296, allocations: 103.9 kB / 484 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005552/0.1301, allocations: 0.4945 MB / 484.5 MB, free: 476 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.1305, allocations: 215 kB / 484.7 MB, free: 260 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.1307, allocations: 195.2 kB / 484.9 MB, free: 64 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.131, allocations: 223.1 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.1311, allocations: 36 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.1312, allocations: 32 kB / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.1313, allocations: 99.59 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.1315, allocations: 230.9 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.132, allocations: 0.5447 MB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.132, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.132, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.132, allocations: 3.938 kB / 486.1 MB, free: 14.9 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.001274/0.1333, allocations: 0.7603 MB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1333, allocations: 8.875 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.239e-05/0.1334, allocations: 86.7 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.442e-05/0.1335, allocations: 52.28 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.1339, allocations: 313.5 kB / 487.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.134, allocations: 33.38 kB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.1341, allocations: 44.38 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008037/0.1349, allocations: 467.1 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1349, allocations: 3.984 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.135, allocations: 24 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.135, allocations: 8 kB / 487.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007307/0.1357, allocations: 327.8 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.1381, allocations: 1.689 MB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.1387, allocations: 236.9 kB / 490.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.139, allocations: 145.6 kB / 490.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.139, allocations: 0 / 490.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1391, allocations: 34.56 kB / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.1391, allocations: 0 / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.003046/0.1421, allocations: 1.348 MB / 491.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.1422, allocations: 81.11 kB / 491.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.1424, allocations: 258.5 kB / 492 MB, free: 8.617 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1425, allocations: 37.7 kB / 492 MB, free: 8.574 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.1426, allocations: 247.5 kB / 492.2 MB, free: 8.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.659e-05/0.1427, allocations: 126.2 kB / 492.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.1429, allocations: 86.03 kB / 492.4 MB, free: 8.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.143, allocations: 342.8 kB / 492.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.1433, allocations: 104.8 kB / 492.9 MB, free: 7.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.1436, allocations: 216.3 kB / 493.1 MB, free: 7.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006119/0.1443, allocations: 338.6 kB / 493.4 MB, free: 7.039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1443, allocations: 4 kB / 493.4 MB, free: 7.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008313/0.1451, allocations: 423.8 kB / 493.8 MB, free: 6.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1451, allocations: 11.94 kB / 493.8 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.1452, allocations: 4 kB / 493.9 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.1453, allocations: 32.78 kB / 493.9 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.1458, allocations: 124 kB / 494 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.147, allocations: 1.329 MB / 495.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.1473, allocations: 20.05 kB / 495.4 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.1474, allocations: 23.98 kB / 495.4 MB, free: 4.941 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.0003004/0.1477, allocations: 157.8 kB / 495.5 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1478, allocations: 35.56 kB / 495.6 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.453e-05/0.1479, allocations: 38.19 kB / 495.6 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.148, allocations: 7.984 kB / 495.6 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.148, allocations: 0 / 495.6 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.148, allocations: 4 kB / 495.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.1493, allocations: 0.7115 MB / 496.3 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.1494, allocations: 0 / 496.3 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.1498, allocations: 99.94 kB / 496.4 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.15, allocations: 24.84 kB / 496.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.15, allocations: 8 kB / 496.5 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.1512, allocations: 1.331 MB / 497.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1512, allocations: 0 / 497.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.1522, allocations: 0.6011 MB / 498.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1524, allocations: 128.7 kB / 498.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.1524, allocations: 8.234 kB / 498.5 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.1527, allocations: 15.98 kB / 498.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.1528, allocations: 27.97 kB / 498.6 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.1528, allocations: 15.98 kB / 498.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.153, allocations: 186 kB / 498.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.153, allocations: 0 / 498.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004873/0.1535, allocations: 92 kB / 498.8 MB, free: 1.211 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.001354/0.1548, allocations: 1.139 MB / 500 MB, free: 32 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009057/0.1557, allocations: 398.4 kB / 0.4887 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1558, allocations: 4 kB / 0.4887 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.1562, allocations: 272.3 kB / 0.4889 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006139/0.1568, allocations: 40.53 kB / 0.489 GB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.1619, allocations: 3.68 MB / 0.4925 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.1623, allocations: 0.8074 MB / 0.4933 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.1625, allocations: 38.94 kB / 0.4934 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.1627, allocations: 139.4 kB / 0.4935 GB, free: 10.45 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1627, allocations: 0 / 0.4935 GB, free: 10.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.1903, allocations: 6.086 MB / 0.4994 GB, free: 4.504 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.1905, allocations: 224.8 kB / 0.4997 GB, free: 4.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.11, allocations: 7.172 kB / 0.4997 GB, free: 4.246 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/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)