Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.00152, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001212/0.001211, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2992/0.2992, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000654/0.0006543, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1305, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005141/0.1357, allocations: 2.733 MB / 493.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.1381, allocations: 0.8232 MB / 493.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/0.1386, allocations: 8 kB / 493.9 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.1387, allocations: 47.61 kB / 493.9 MB, free: 5.605 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.1392, allocations: 143.5 kB / 494.1 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.1398, allocations: 95.89 kB / 494.2 MB, free: 5.371 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000867/0.1407, allocations: 351.8 kB / 494.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004562/0.1412, allocations: 174.7 kB / 494.7 MB, free: 4.855 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.1416, allocations: 179.3 kB / 494.9 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.142, allocations: 203.1 kB / 495.1 MB, free: 4.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.229e-05/0.1421, allocations: 24 kB / 495.1 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.1422, allocations: 28 kB / 495.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1423, allocations: 71.75 kB / 495.2 MB, free: 4.359 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.1425, allocations: 109.5 kB / 495.3 MB, free: 4.246 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006714/0.1432, allocations: 419 kB / 495.7 MB, free: 3.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1432, allocations: 0 / 495.7 MB, free: 3.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1432, allocations: 0 / 495.7 MB, free: 3.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1432, allocations: 0 / 495.7 MB, free: 3.836 MB / 330.7 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.001981/0.1452, allocations: 0.7018 MB / 496.4 MB, free: 3.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.1453, allocations: 8.031 kB / 496.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.1455, allocations: 90.45 kB / 496.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1456, allocations: 59.3 kB / 496.5 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.1463, allocations: 304.3 kB / 496.8 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/0.1463, allocations: 44.92 kB / 496.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.1465, allocations: 48 kB / 496.9 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.1478, allocations: 455 kB / 497.4 MB, free: 2.027 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1479, allocations: 3.938 kB / 497.4 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/0.1479, allocations: 20 kB / 497.4 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.148, allocations: 16 kB / 497.4 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.1493, allocations: 327.8 kB / 497.7 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.1535, allocations: 1.701 MB / 499.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009786/0.1545, allocations: 244.9 kB / 499.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.1546, allocations: 4 kB / 499.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.1546, allocations: 42.5 kB / 499.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.807e-06/0.1547, allocations: 0 / 499.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.004961/0.1596, allocations: 1.329 MB / 0.4893 GB, free: 14.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.1597, allocations: 84.95 kB / 0.4894 GB, free: 13.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.1602, allocations: 262.6 kB / 0.4896 GB, free: 13.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.1602, allocations: 29.7 kB / 0.4897 GB, free: 13.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.1605, allocations: 317.9 kB / 0.49 GB, free: 13.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.1606, allocations: 114.5 kB / 0.4901 GB, free: 13.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.1607, allocations: 12 kB / 0.4901 GB, free: 13.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1609, allocations: 338.8 kB / 0.4904 GB, free: 12.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.1614, allocations: 100.8 kB / 0.4905 GB, free: 12.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.162, allocations: 220.3 kB / 0.4907 GB, free: 12.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/0.1626, allocations: 127.9 kB / 0.4908 GB, free: 12.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.1626, allocations: 4 kB / 0.4908 GB, free: 12.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001488/0.1641, allocations: 409.6 kB / 0.4912 GB, free: 12.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.1642, allocations: 12.03 kB / 0.4912 GB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.1642, allocations: 0 / 0.4912 GB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.1644, allocations: 28.84 kB / 0.4913 GB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009025/0.1653, allocations: 127.8 kB / 0.4914 GB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.1669, allocations: 1.339 MB / 0.4927 GB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.1675, allocations: 23.98 kB / 0.4927 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.1675, allocations: 16 kB / 0.4927 GB, free: 10.34 MB / 346.7 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003187/0.1679, allocations: 161.8 kB / 0.4929 GB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.168, allocations: 31.62 kB / 0.4929 GB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.886e-05/0.1681, allocations: 38.11 kB / 0.493 GB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1681, allocations: 4 kB / 0.493 GB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.1681, allocations: 4 kB / 0.493 GB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1682, allocations: 7.938 kB / 0.493 GB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008431/0.169, allocations: 417.4 kB / 0.4934 GB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.169, allocations: 0 / 0.4934 GB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008956/0.1699, allocations: 91.94 kB / 0.4935 GB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.1701, allocations: 32.78 kB / 0.4935 GB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.1702, allocations: 7.938 kB / 0.4935 GB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.1717, allocations: 1.328 MB / 0.4948 GB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.1717, allocations: 4.031 kB / 0.4948 GB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.1736, allocations: 0.6049 MB / 0.4954 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.1739, allocations: 124.8 kB / 0.4955 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-05/0.174, allocations: 15.94 kB / 0.4955 GB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.1744, allocations: 23.98 kB / 0.4956 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1745, allocations: 23.91 kB / 0.4956 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.1746, allocations: 12 kB / 0.4956 GB, free: 7.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002761/0.1749, allocations: 178 kB / 0.4958 GB, free: 7.016 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.424e-06/0.1749, allocations: 0 / 0.4958 GB, free: 7.016 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006763/0.1756, allocations: 95.94 kB / 0.4958 GB, free: 6.922 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002265/0.1779, allocations: 1.22 MB / 0.497 GB, free: 5.668 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.1793, allocations: 410.7 kB / 0.4974 GB, free: 5.254 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.1794, allocations: 0 / 0.4974 GB, free: 5.254 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006929/0.1801, allocations: 250.5 kB / 0.4977 GB, free: 4.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.1806, allocations: 37 kB / 0.4977 GB, free: 4.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006961/0.1876, allocations: 4.213 MB / 0.5018 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.1883, allocations: 0.8191 MB / 0.5026 GB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.1886, allocations: 143.4 kB / 0.5028 GB, free: 15.65 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/0.1887, allocations: 0 / 0.5028 GB, free: 15.65 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.855/3.043, allocations: 7.443 MB / 0.51 GB, free: 8.211 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1)