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.0008893/0.0008892, allocations: 94.94 kB / 17.35 MB, free: 6.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.001155/0.001155, allocations: 168.5 kB / 18.25 MB, free: 5.508 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.315/1.315, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1777/0.1777, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002711, allocations: 8.234 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1066, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003802/0.1105, allocations: 3.15 MB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1119, allocations: 0.7711 MB / 476.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003116/0.1123, allocations: 8 kB / 476.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.1125, allocations: 51.55 kB / 476.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.1129, allocations: 111.1 kB / 476.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.1133, allocations: 111.8 kB / 476.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005786/0.1138, allocations: 0.4983 MB / 477 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.1142, allocations: 207 kB / 477.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.1145, allocations: 175.2 kB / 477.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.1148, allocations: 211 kB / 477.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.1149, allocations: 24 kB / 477.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.115, allocations: 28 kB / 477.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.115, allocations: 75.69 kB / 477.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.1153, allocations: 252.4 kB / 478 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.1157, allocations: 0.5174 MB / 478.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1157, allocations: 4 kB / 478.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1157, allocations: 0 / 478.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.1158, allocations: 0 / 478.5 MB, free: 7.059 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.001183/0.1169, allocations: 0.7003 MB / 479.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.117, allocations: 12.03 kB / 479.2 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.1171, allocations: 86.7 kB / 479.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.1172, allocations: 52.38 kB / 479.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.1176, allocations: 309.5 kB / 479.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.1176, allocations: 37.38 kB / 479.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.1177, allocations: 48.28 kB / 479.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008048/0.1185, allocations: 471.1 kB / 480.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1186, allocations: 0 / 480.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.1186, allocations: 23.94 kB / 480.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.1186, allocations: 12 kB / 480.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007085/0.1193, allocations: 331.8 kB / 480.6 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.1217, allocations: 1.713 MB / 482.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.1223, allocations: 241 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.1226, allocations: 137.7 kB / 482.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1226, allocations: 15.94 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1227, allocations: 30.56 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 3.516e-06/0.1227, allocations: 3.984 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002996/0.1257, allocations: 1.359 MB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.1257, allocations: 85.11 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.126, allocations: 258.5 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.126, allocations: 37.7 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1262, allocations: 263.4 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.1263, allocations: 122.3 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.1264, allocations: 37.7 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1265, allocations: 342.8 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.1268, allocations: 108.8 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.1271, allocations: 224.2 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.1277, allocations: 349.2 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1277, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008263/0.1286, allocations: 430.2 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.1286, allocations: 4 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.1286, allocations: 4 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.1288, allocations: 36.78 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.1292, allocations: 128 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.1304, allocations: 1.331 MB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.1306, allocations: 20.06 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.1307, allocations: 19.98 kB / 487.8 MB, free: 13.1 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.0001826/0.1309, allocations: 157.8 kB / 488 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.1309, allocations: 35.56 kB / 488 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.696e-05/0.1311, allocations: 38.17 kB / 488 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1311, allocations: 8 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1311, allocations: 8 kB / 488.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1311, allocations: 0 / 488.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.1322, allocations: 0.7223 MB / 488.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1322, allocations: 0 / 488.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.1326, allocations: 95.88 kB / 488.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-05/0.1327, allocations: 28.97 kB / 488.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.1327, allocations: 8 kB / 488.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000895/0.1336, allocations: 1.335 MB / 490.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.1336, allocations: 4.031 kB / 490.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009967/0.1346, allocations: 0.6136 MB / 490.9 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1347, allocations: 124.8 kB / 491 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.1348, allocations: 8 kB / 491 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.135, allocations: 19.98 kB / 491 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.1351, allocations: 23.97 kB / 491 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1351, allocations: 15.98 kB / 491 MB, free: 9.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.1353, allocations: 185.9 kB / 491.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1353, allocations: 0 / 491.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.1358, allocations: 92 kB / 491.3 MB, free: 9.344 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.001266/0.137, allocations: 1.159 MB / 492.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007722/0.1378, allocations: 411.3 kB / 492.9 MB, free: 7.734 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1378, allocations: 0 / 492.9 MB, free: 7.734 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.1382, allocations: 264.1 kB / 493.1 MB, free: 7.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.1387, allocations: 45.05 kB / 493.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.1434, allocations: 3.777 MB / 497 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.1438, allocations: 0.8112 MB / 497.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.144, allocations: 34.97 kB / 497.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.1442, allocations: 139.4 kB / 497.9 MB, free: 2.453 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1442, allocations: 0 / 497.9 MB, free: 2.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.1626, allocations: 5.96 MB / 0.4921 GB, free: 12.67 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/0.1629, allocations: 233.7 kB / 0.4923 GB, free: 12.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/1.988, allocations: 0 / 0.4923 GB, free: 12.4 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)