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.001628/0.001628, allocations: 102.1 kB / 16.27 MB, free: 5.973 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.001848/0.001848, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.38/1.38, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.1711/0.1711, allocations: 43.51 MB / 313.9 MB, free: 0.5312 MB / 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.001792/0.001792, allocations: 69.47 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08723/0.08904, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003334/0.09241, allocations: 3.418 MB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009248/0.09335, allocations: 0.819 MB / 444.9 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.09351, allocations: 8 kB / 444.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.09367, allocations: 79.22 kB / 444.9 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.09387, allocations: 126.8 kB / 445.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.09415, allocations: 139.8 kB / 445.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.09446, allocations: 0.5101 MB / 445.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.09473, allocations: 245.8 kB / 446 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.0949, allocations: 215.2 kB / 446.2 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.09509, allocations: 231 kB / 446.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.09515, allocations: 48 kB / 446.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.099e-05/0.09522, allocations: 48 kB / 446.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.09529, allocations: 115.5 kB / 446.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.09543, allocations: 250.8 kB / 446.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.0958, allocations: 0.5411 MB / 447.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.09582, allocations: 3.938 kB / 447.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.09582, allocations: 7.938 kB / 447.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.09584, allocations: 0 / 447.4 MB, free: 15.98 MB / 334.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.001193/0.09704, allocations: 0.7641 MB / 448.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.09709, allocations: 11.89 kB / 448.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.09717, allocations: 86.7 kB / 448.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.768e-05/0.09726, allocations: 52.38 kB / 448.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.09763, allocations: 317.3 kB / 448.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.09766, allocations: 37.38 kB / 448.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.09773, allocations: 44.38 kB / 448.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.09846, allocations: 467.1 kB / 449.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.09848, allocations: 0 / 449.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.09853, allocations: 20 kB / 449.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.09854, allocations: 12 kB / 449.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006458/0.09919, allocations: 323.8 kB / 449.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.1014, allocations: 1.693 MB / 451.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.1019, allocations: 225.1 kB / 451.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.1022, allocations: 145.6 kB / 451.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1023, allocations: 4 kB / 451.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1023, allocations: 34.56 kB / 451.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.353e-06/0.1023, allocations: 4 kB / 451.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002627/0.1049, allocations: 1.334 MB / 452.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.105, allocations: 81.11 kB / 453 MB, free: 9.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1052, allocations: 266.5 kB / 453.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1052, allocations: 29.7 kB / 453.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.1054, allocations: 259.4 kB / 453.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.034e-05/0.1055, allocations: 118.3 kB / 453.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/0.1056, allocations: 82.03 kB / 453.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1057, allocations: 342.8 kB / 454.1 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.1059, allocations: 104.8 kB / 454.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.1062, allocations: 216.3 kB / 454.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005542/0.1068, allocations: 348 kB / 454.7 MB, free: 8.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1068, allocations: 3.938 kB / 454.7 MB, free: 8.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007367/0.1076, allocations: 422.2 kB / 455.1 MB, free: 7.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1076, allocations: 7.984 kB / 455.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1076, allocations: 4 kB / 455.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001155/0.1077, allocations: 37.09 kB / 455.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.1082, allocations: 119.9 kB / 455.3 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.1092, allocations: 1.446 MB / 456.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.1094, allocations: 15.98 kB / 456.8 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.1094, allocations: 20 kB / 456.8 MB, free: 5.906 MB / 334.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.0001627/0.1096, allocations: 161.8 kB / 457 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.1097, allocations: 31.62 kB / 457 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.249e-05/0.1098, allocations: 42.17 kB / 457 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1098, allocations: 4 kB / 457 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1098, allocations: 0 / 457 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1098, allocations: 3.984 kB / 457 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.1108, allocations: 0.7185 MB / 457.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1108, allocations: 0 / 457.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.1112, allocations: 91.88 kB / 457.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.93e-05/0.1113, allocations: 28.78 kB / 457.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.1113, allocations: 15.98 kB / 457.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008684/0.1122, allocations: 1.43 MB / 459.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1122, allocations: 0 / 459.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.1131, allocations: 0.6084 MB / 459.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1132, allocations: 128.7 kB / 460 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.1133, allocations: 8 kB / 460.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.1135, allocations: 19.92 kB / 460.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.1136, allocations: 23.97 kB / 460.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.1136, allocations: 16 kB / 460.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1138, allocations: 182 kB / 460.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1138, allocations: 0 / 460.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003981/0.1142, allocations: 92 kB / 460.4 MB, free: 2.062 MB / 334.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.00118/0.1154, allocations: 1.139 MB / 461.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.1162, allocations: 430.2 kB / 461.9 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1162, allocations: 0 / 461.9 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.1165, allocations: 251.3 kB / 462.2 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.117, allocations: 43.31 kB / 462.2 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.1213, allocations: 3.504 MB / 465.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1217, allocations: 0.8074 MB / 466.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.1219, allocations: 34.95 kB / 466.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.122, allocations: 139.4 kB / 466.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1221, allocations: 4 kB / 466.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.073/0.1951, allocations: 6.269 MB / 473 MB, free: 5.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.32, allocations: 11.28 kB / 473 MB, free: 5.207 MB / 350.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)