Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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 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 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 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.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_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.00155/0.00155, allocations: 104.7 kB / 16.4 MB, free: 6.453 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.001422/0.001422, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2213/0.2213, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 69.31 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1209, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005313/0.1262, allocations: 3.433 MB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1283, allocations: 0.8225 MB / 0.4915 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000521/0.1288, allocations: 8 kB / 0.4915 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.1292, allocations: 79.22 kB / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005789/0.1298, allocations: 126.8 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.1304, allocations: 135.8 kB / 0.4919 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000942/0.1314, allocations: 0.514 MB / 0.4924 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005062/0.1319, allocations: 253.8 kB / 0.4926 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.1325, allocations: 207.3 kB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004784/0.133, allocations: 235 kB / 0.493 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.1332, allocations: 48 kB / 0.4931 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1333, allocations: 48 kB / 0.4931 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.1334, allocations: 119.5 kB / 0.4932 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.1338, allocations: 250.8 kB / 0.4935 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008001/0.1346, allocations: 0.5488 MB / 0.494 GB, free: 5.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1346, allocations: 0 / 0.494 GB, free: 5.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1346, allocations: 0 / 0.494 GB, free: 5.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.1346, allocations: 0 / 0.494 GB, free: 5.461 MB / 382.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.001588/0.1362, allocations: 0.7642 MB / 0.4948 GB, free: 4.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.1363, allocations: 15.89 kB / 0.4948 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.1364, allocations: 82.7 kB / 0.4949 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.1365, allocations: 52.38 kB / 0.4949 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.1372, allocations: 329.3 kB / 0.4952 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.1373, allocations: 33.38 kB / 0.4953 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/0.1374, allocations: 48.38 kB / 0.4953 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1384, allocations: 467 kB / 0.4957 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1384, allocations: 0 / 0.4957 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/0.1385, allocations: 27.94 kB / 0.4958 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.1385, allocations: 8 kB / 0.4958 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008032/0.1393, allocations: 327.8 kB / 0.4961 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.1421, allocations: 1.67 MB / 0.4977 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008225/0.1429, allocations: 236.9 kB / 0.4979 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.1433, allocations: 137.7 kB / 0.4981 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.1434, allocations: 4 kB / 0.4981 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1434, allocations: 38.56 kB / 0.4981 GB, free: 1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.495e-06/0.1434, allocations: 0 / 0.4981 GB, free: 1 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.003487/0.1469, allocations: 1.337 MB / 0.4994 GB, free: 15.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/0.147, allocations: 85.33 kB / 0.4995 GB, free: 15.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.1473, allocations: 262.5 kB / 0.4998 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.1474, allocations: 37.64 kB / 0.4998 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.1477, allocations: 251.4 kB / 0.5 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1478, allocations: 126.3 kB / 0.5002 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.1479, allocations: 78.03 kB / 0.5002 GB, free: 14.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1481, allocations: 342.8 kB / 0.5006 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.1485, allocations: 112.8 kB / 0.5007 GB, free: 14.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.1488, allocations: 208.5 kB / 0.5009 GB, free: 13.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006042/0.1494, allocations: 335.4 kB / 0.5012 GB, free: 13.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1494, allocations: 0 / 0.5012 GB, free: 13.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008546/0.1503, allocations: 421.6 kB / 0.5016 GB, free: 13.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1503, allocations: 8.375 kB / 0.5016 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1504, allocations: 8 kB / 0.5016 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.1505, allocations: 36.77 kB / 0.5016 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.151, allocations: 123.8 kB / 0.5018 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.1523, allocations: 1.442 MB / 0.5032 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.1526, allocations: 19.98 kB / 0.5032 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.1527, allocations: 12 kB / 0.5032 GB, free: 11.39 MB / 398.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.0002477/0.1529, allocations: 177.7 kB / 0.5034 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-05/0.153, allocations: 31.62 kB / 0.5034 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.598e-05/0.1531, allocations: 34.17 kB / 0.5034 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1531, allocations: 4 kB / 0.5034 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.1532, allocations: 4 kB / 0.5034 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1532, allocations: 0 / 0.5034 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.1544, allocations: 0.7115 MB / 0.5041 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.1544, allocations: 4 kB / 0.5041 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.1548, allocations: 87.88 kB / 0.5042 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.75e-05/0.1549, allocations: 32.84 kB / 0.5042 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.155, allocations: 12 kB / 0.5043 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.156, allocations: 1.422 MB / 0.5056 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1561, allocations: 4.031 kB / 0.5056 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1571, allocations: 0.6086 MB / 0.5062 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.1572, allocations: 124.8 kB / 0.5064 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.1573, allocations: 11.98 kB / 0.5064 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.1576, allocations: 23.92 kB / 0.5064 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.1577, allocations: 27.84 kB / 0.5064 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1577, allocations: 16 kB / 0.5064 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.1579, allocations: 182 kB / 0.5066 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1579, allocations: 0 / 0.5066 GB, free: 7.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004707/0.1583, allocations: 92 kB / 0.5067 GB, free: 7.535 MB / 398.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.001388/0.1597, allocations: 1.147 MB / 0.5078 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008966/0.1607, allocations: 406.4 kB / 0.5082 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1607, allocations: 0 / 0.5082 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.1611, allocations: 254.1 kB / 0.5084 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.1616, allocations: 44.41 kB / 0.5085 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.1664, allocations: 3.462 MB / 0.5119 GB, free: 1.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.1668, allocations: 0.8228 MB / 0.5127 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.1671, allocations: 34.97 kB / 0.5127 GB, free: 1.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.1673, allocations: 139.4 kB / 0.5128 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1673, allocations: 3.938 kB / 0.5128 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.1978, allocations: 6.531 MB / 0.5192 GB, free: 10.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.38, allocations: 3.984 kB / 0.5192 GB, free: 10.43 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1)