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.0008635/0.0008635, allocations: 95 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009389/0.0009388, allocations: 205.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1784/0.1784, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002451/0.0002451, allocations: 11.98 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1066, allocations: 63.57 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00335/0.11, allocations: 3.156 MB / 486.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1112, allocations: 0.8179 MB / 487.2 MB, free: 72 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.1114, allocations: 8 kB / 487.2 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.1116, allocations: 55.55 kB / 487.2 MB, free: 8 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.1118, allocations: 111.2 kB / 487.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.1122, allocations: 111.9 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.1127, allocations: 0.4944 MB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.113, allocations: 207 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.1132, allocations: 167.3 kB / 488.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.1134, allocations: 203 kB / 488.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.1135, allocations: 31.94 kB / 488.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.458e-05/0.1135, allocations: 24 kB / 488.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.551e-05/0.1136, allocations: 75.69 kB / 488.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.1138, allocations: 248.5 kB / 488.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.1143, allocations: 0.5213 MB / 489.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1143, allocations: 0 / 489.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1143, allocations: 0 / 489.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1143, allocations: 4 kB / 489.4 MB, free: 13.82 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.001128/0.1155, allocations: 0.6979 MB / 490.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1155, allocations: 8.875 kB / 490.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.705e-05/0.1156, allocations: 90.7 kB / 490.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/0.1157, allocations: 48.38 kB / 490.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1161, allocations: 305.5 kB / 490.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.1161, allocations: 45.31 kB / 490.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.1162, allocations: 56.27 kB / 490.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008183/0.117, allocations: 475 kB / 491.1 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.117, allocations: 0 / 491.1 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.1171, allocations: 16 kB / 491.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1171, allocations: 16 kB / 491.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007322/0.1178, allocations: 335.8 kB / 491.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.1203, allocations: 1.693 MB / 493.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.1208, allocations: 249 kB / 493.4 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.1212, allocations: 133.7 kB / 493.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1212, allocations: 4 kB / 493.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1212, allocations: 46.44 kB / 493.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.1212, allocations: 4 kB / 493.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002953/0.1242, allocations: 1.351 MB / 494.9 MB, free: 7.898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1243, allocations: 85.05 kB / 495 MB, free: 7.797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.1245, allocations: 266.5 kB / 495.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.1246, allocations: 29.7 kB / 495.3 MB, free: 7.496 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1247, allocations: 267.4 kB / 495.6 MB, free: 7.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/0.1248, allocations: 118.3 kB / 495.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.1249, allocations: 41.7 kB / 495.7 MB, free: 7.066 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1251, allocations: 342.8 kB / 496 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.1253, allocations: 112.8 kB / 496.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.1257, allocations: 212.3 kB / 496.4 MB, free: 6.359 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/0.1263, allocations: 353.9 kB / 496.7 MB, free: 5.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1263, allocations: 0 / 496.7 MB, free: 5.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008222/0.1271, allocations: 425.5 kB / 497.1 MB, free: 5.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1272, allocations: 12 kB / 497.1 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1272, allocations: 4 kB / 497.1 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/0.1273, allocations: 36.78 kB / 497.2 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.1278, allocations: 119.8 kB / 497.3 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009952/0.1288, allocations: 1.34 MB / 498.6 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.129, allocations: 20 kB / 498.7 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.1291, allocations: 24.05 kB / 498.7 MB, free: 3.863 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.0001818/0.1293, allocations: 161.7 kB / 498.8 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.1294, allocations: 35.56 kB / 498.9 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.558e-05/0.1294, allocations: 42.11 kB / 498.9 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1294, allocations: 4 kB / 498.9 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1295, allocations: 0 / 498.9 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1295, allocations: 0 / 498.9 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.1305, allocations: 0.7193 MB / 499.6 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1305, allocations: 4 kB / 499.6 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.1309, allocations: 99.94 kB / 499.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.598e-05/0.131, allocations: 24.84 kB / 499.8 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.1311, allocations: 8 kB / 499.8 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008298/0.1319, allocations: 1.335 MB / 0.4894 GB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1319, allocations: 0 / 0.4894 GB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.1329, allocations: 0.6128 MB / 0.49 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.133, allocations: 120.8 kB / 0.4901 GB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.133, allocations: 12 kB / 0.4901 GB, free: 448 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.1333, allocations: 23.98 kB / 0.4901 GB, free: 424 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.1334, allocations: 23.91 kB / 0.4901 GB, free: 400 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1334, allocations: 11.98 kB / 0.4901 GB, free: 388 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.1336, allocations: 186 kB / 0.4903 GB, free: 204 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1336, allocations: 3.938 kB / 0.4903 GB, free: 200 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004491/0.134, allocations: 96 kB / 0.4904 GB, free: 104 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.001281/0.1353, allocations: 1.149 MB / 0.4915 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008104/0.1361, allocations: 416.9 kB / 0.4919 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1362, allocations: 0.75 kB / 0.4919 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003986/0.1366, allocations: 266.4 kB / 0.4922 GB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.1371, allocations: 37.31 kB / 0.4922 GB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.142, allocations: 3.785 MB / 0.4959 GB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1424, allocations: 0.8112 MB / 0.4967 GB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.1426, allocations: 34.95 kB / 0.4967 GB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.1427, allocations: 139.4 kB / 0.4969 GB, free: 9.219 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1427, allocations: 4 kB / 0.4969 GB, free: 9.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.1601, allocations: 5.97 MB / 0.5027 GB, free: 3.426 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.1603, allocations: 217.4 kB / 0.5029 GB, free: 3.176 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.212, allocations: 3.938 kB / 0.5029 GB, free: 3.172 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)