Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001839/0.001839, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002092/0.002092, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2404/0.2404, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 78 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1241, allocations: 62.44 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005379/0.1295, allocations: 3.519 MB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1313, allocations: 0.8295 MB / 484.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.1315, allocations: 8 kB / 484.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1318, allocations: 83.17 kB / 484.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.1321, allocations: 122.8 kB / 484.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.1324, allocations: 127.8 kB / 484.9 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005854/0.133, allocations: 0.5258 MB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.1334, allocations: 230 kB / 485.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.1337, allocations: 211.3 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.134, allocations: 231 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.185e-05/0.1341, allocations: 48 kB / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.1342, allocations: 52 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1343, allocations: 111.6 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.1346, allocations: 250.8 kB / 486.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00058/0.1352, allocations: 0.5527 MB / 487.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1352, allocations: 0 / 487.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1352, allocations: 0 / 487.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.1352, allocations: 0 / 487.1 MB, free: 14.23 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.001546/0.1368, allocations: 0.7603 MB / 487.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1368, allocations: 11.97 kB / 487.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.1369, allocations: 86.72 kB / 487.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.1371, allocations: 64.27 kB / 488 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.1375, allocations: 305.5 kB / 488.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.1375, allocations: 37.38 kB / 488.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.1376, allocations: 48.36 kB / 488.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.1385, allocations: 463.1 kB / 488.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1385, allocations: 0 / 488.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.1386, allocations: 20 kB / 488.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.1386, allocations: 12 kB / 488.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/0.1394, allocations: 327.8 kB / 489.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.1421, allocations: 1.686 MB / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.1427, allocations: 241 kB / 491.1 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.143, allocations: 137.6 kB / 491.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1431, allocations: 4 kB / 491.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.1431, allocations: 38.56 kB / 491.3 MB, free: 9.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.1431, allocations: 0 / 491.3 MB, free: 9.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00317/0.1463, allocations: 1.34 MB / 492.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.1464, allocations: 89.09 kB / 492.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.1467, allocations: 270.4 kB / 493 MB, free: 7.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.1468, allocations: 29.7 kB / 493 MB, free: 7.891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1469, allocations: 251.5 kB / 493.2 MB, free: 7.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.1471, allocations: 126.2 kB / 493.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.1472, allocations: 78.03 kB / 493.4 MB, free: 7.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1474, allocations: 342.8 kB / 493.8 MB, free: 7.086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.1477, allocations: 108.8 kB / 493.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.1481, allocations: 216.3 kB / 494.1 MB, free: 6.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007099/0.1488, allocations: 333 kB / 494.4 MB, free: 6.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1488, allocations: 4 kB / 494.4 MB, free: 6.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008718/0.1497, allocations: 424.2 kB / 494.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1497, allocations: 8.062 kB / 494.8 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1497, allocations: 7.984 kB / 494.9 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.1499, allocations: 32.78 kB / 494.9 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.1504, allocations: 119.9 kB / 495 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.1517, allocations: 1.439 MB / 496.4 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.152, allocations: 27.91 kB / 496.5 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.152, allocations: 27.97 kB / 496.5 MB, free: 4.133 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.000226/0.1523, allocations: 157.7 kB / 496.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.1524, allocations: 27.72 kB / 496.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.35e-05/0.1525, allocations: 38.17 kB / 496.7 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1525, allocations: 4 kB / 496.7 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1525, allocations: 0 / 496.7 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.1525, allocations: 4 kB / 496.7 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.1538, allocations: 0.7222 MB / 497.4 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1538, allocations: 0 / 497.4 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.1542, allocations: 99.94 kB / 497.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-05/0.1543, allocations: 32.91 kB / 497.6 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.1543, allocations: 8 kB / 497.6 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.1557, allocations: 1.414 MB / 499 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1557, allocations: 0 / 499 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1568, allocations: 0.6058 MB / 499.6 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.1569, allocations: 120.8 kB / 499.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.157, allocations: 8 kB / 499.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.1573, allocations: 31.92 kB / 499.8 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.228e-05/0.1574, allocations: 23.95 kB / 499.8 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.1574, allocations: 12 kB / 499.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002077/0.1576, allocations: 182 kB / 500 MB, free: 408 kB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1576, allocations: 0 / 500 MB, free: 408 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004771/0.1581, allocations: 92 kB / 0.4883 GB, free: 316 kB / 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.00146/0.1596, allocations: 1.153 MB / 0.4895 GB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009422/0.1605, allocations: 418 kB / 0.4899 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1605, allocations: 4.062 kB / 0.4899 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.161, allocations: 250.5 kB / 0.4901 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.1616, allocations: 40.88 kB / 0.4901 GB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.1675, allocations: 3.502 MB / 0.4936 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.1681, allocations: 0.8113 MB / 0.4944 GB, free: 9.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.1683, allocations: 38.94 kB / 0.4944 GB, free: 9.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.1685, allocations: 139.4 kB / 0.4945 GB, free: 9.703 MB / 382.1 MB Notification: Performance of SimCode: time 1.552e-06/0.1685, allocations: 0 / 0.4945 GB, free: 9.703 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.2063, allocations: 6.361 MB / 0.5007 GB, free: 3.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.418/9.624, allocations: 11.75 kB / 0.5008 GB, free: 3.477 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1)