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.001089/0.001089, allocations: 113.6 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.4 MB / 246.4 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1914/0.1914, allocations: 46.1 MB / 343.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 77.5 kB / 417.2 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 62.45 MB / 479.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005372/0.1134, allocations: 3.549 MB / 483.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.1154, allocations: 0.814 MB / 484 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.1158, allocations: 8 kB / 484 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1162, allocations: 55.53 kB / 484 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.1166, allocations: 107.2 kB / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.1171, allocations: 107.9 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.1176, allocations: 0.5179 MB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.118, allocations: 250.1 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.1183, allocations: 203.3 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.1186, allocations: 238.9 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.096e-05/0.1187, allocations: 48 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.857e-05/0.1188, allocations: 48 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.789e-05/0.1189, allocations: 115.6 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.1192, allocations: 238.9 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000534/0.1197, allocations: 0.5527 MB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1197, allocations: 0 / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1197, allocations: 4 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.1198, allocations: 4 kB / 486.4 MB, free: 14.69 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.001332/0.1211, allocations: 0.7589 MB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1212, allocations: 15.97 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.07e-05/0.1213, allocations: 90.7 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.313e-05/0.1214, allocations: 52.28 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.1217, allocations: 309.5 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.1218, allocations: 33.38 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.1219, allocations: 52.31 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000768/0.1226, allocations: 467.1 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1226, allocations: 0 / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.1227, allocations: 16 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1227, allocations: 12 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006825/0.1234, allocations: 327.8 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.1257, allocations: 1.686 MB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.1262, allocations: 237 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.1265, allocations: 133.7 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1266, allocations: 4 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1266, allocations: 46.48 kB / 490.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/0.1266, allocations: 0 / 490.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002784/0.1294, allocations: 1.343 MB / 492 MB, free: 8.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1295, allocations: 81.11 kB / 492.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.1297, allocations: 266.5 kB / 492.3 MB, free: 8.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.1297, allocations: 33.7 kB / 492.3 MB, free: 8.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.1299, allocations: 259.5 kB / 492.6 MB, free: 8.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.228e-05/0.13, allocations: 122.2 kB / 492.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.1301, allocations: 78.05 kB / 492.8 MB, free: 7.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1302, allocations: 338.8 kB / 493.1 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.1305, allocations: 108.8 kB / 493.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.1308, allocations: 212.3 kB / 493.4 MB, free: 7.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.1314, allocations: 338.8 kB / 493.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1314, allocations: 4 kB / 493.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007976/0.1322, allocations: 419.7 kB / 494.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1322, allocations: 8 kB / 494.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1322, allocations: 0 / 494.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.1324, allocations: 41.09 kB / 494.2 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.1328, allocations: 127.9 kB / 494.4 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000963/0.1338, allocations: 1.435 MB / 495.8 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.1341, allocations: 27.83 kB / 495.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.1341, allocations: 16 kB / 495.8 MB, free: 4.617 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.0001605/0.1343, allocations: 169.7 kB / 496 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.1343, allocations: 27.72 kB / 496 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.333e-05/0.1344, allocations: 38.17 kB / 496.1 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1344, allocations: 4 kB / 496.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1344, allocations: 0 / 496.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.1344, allocations: 7.984 kB / 496.1 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009975/0.1354, allocations: 0.7153 MB / 496.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1355, allocations: 4 kB / 496.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.1359, allocations: 87.94 kB / 496.9 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.103e-05/0.136, allocations: 36.84 kB / 496.9 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.136, allocations: 8 kB / 496.9 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008515/0.1369, allocations: 1.418 MB / 498.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1369, allocations: 0 / 498.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009108/0.1378, allocations: 0.6077 MB / 499 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.1379, allocations: 124.8 kB / 499.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.138, allocations: 12 kB / 499.1 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.1382, allocations: 19.92 kB / 499.1 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.1383, allocations: 23.97 kB / 499.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.1383, allocations: 12 kB / 499.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1385, allocations: 190 kB / 499.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1385, allocations: 0 / 499.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004106/0.1389, allocations: 92 kB / 499.4 MB, free: 0.7773 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.001173/0.1401, allocations: 1.135 MB / 0.4888 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008022/0.1409, allocations: 427.9 kB / 0.4892 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1409, allocations: 0 / 0.4892 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.1413, allocations: 251.3 kB / 0.4895 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.1419, allocations: 48.81 kB / 0.4895 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004794/0.1467, allocations: 3.701 MB / 0.4931 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.1472, allocations: 0.8074 MB / 0.4939 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.1474, allocations: 38.95 kB / 0.494 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.1475, allocations: 139.4 kB / 0.4941 GB, free: 9.984 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1475, allocations: 0 / 0.4941 GB, free: 9.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8114/0.9589, allocations: 6.241 MB / 0.5002 GB, free: 3.914 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003304/0.9593, allocations: 218.2 kB / 0.5004 GB, free: 3.664 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/3.736, allocations: 0 / 0.5004 GB, free: 3.664 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)