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.001051/0.001052, allocations: 172.8 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007608/0.0007609, allocations: 86.31 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3118/0.3118, allocations: 43.57 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003398, allocations: 8 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1066, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003636/0.1103, allocations: 2.93 MB / 493.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.112, allocations: 0.8034 MB / 494.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.1124, allocations: 8 kB / 494.7 MB, free: 6.793 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1126, allocations: 59.53 kB / 494.7 MB, free: 6.734 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.1129, allocations: 103.1 kB / 494.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1133, allocations: 87.91 kB / 494.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006149/0.114, allocations: 494.4 kB / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.1144, allocations: 210.7 kB / 495.6 MB, free: 5.852 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.1147, allocations: 175.3 kB / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.115, allocations: 191.1 kB / 496 MB, free: 5.492 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.476e-05/0.1151, allocations: 24 kB / 496 MB, free: 5.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.1152, allocations: 31.94 kB / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.1152, allocations: 75.69 kB / 496.1 MB, free: 5.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.1155, allocations: 236.6 kB / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.1159, allocations: 423 kB / 496.7 MB, free: 4.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1159, allocations: 0 / 496.7 MB, free: 4.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1159, allocations: 4 kB / 496.7 MB, free: 4.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.1159, allocations: 0 / 496.7 MB, free: 4.707 MB / 378.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.001243/0.1172, allocations: 0.6863 MB / 497.4 MB, free: 3.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1172, allocations: 12.03 kB / 497.4 MB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.1173, allocations: 86.7 kB / 497.5 MB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.59e-05/0.1174, allocations: 56.28 kB / 497.6 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.1179, allocations: 317.4 kB / 497.9 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.1179, allocations: 33.38 kB / 497.9 MB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.118, allocations: 48.38 kB / 498 MB, free: 3.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/0.1189, allocations: 463.1 kB / 498.4 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1189, allocations: 0 / 498.4 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.1189, allocations: 27.94 kB / 498.4 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1189, allocations: 8 kB / 498.4 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.1197, allocations: 331.8 kB / 498.8 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.1223, allocations: 1.705 MB / 0.4887 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.1228, allocations: 241 kB / 0.489 GB, free: 488 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.1232, allocations: 141.8 kB / 0.4891 GB, free: 340 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1232, allocations: 8.188 kB / 0.4891 GB, free: 332 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.1233, allocations: 42.55 kB / 0.4892 GB, free: 280 kB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.1233, allocations: 0 / 0.4892 GB, free: 280 kB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.1978/0.321, allocations: 1.35 MB / 0.4905 GB, free: 42.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.3211, allocations: 81.12 kB / 0.4906 GB, free: 42.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.3214, allocations: 258.1 kB / 0.4908 GB, free: 42.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3214, allocations: 32.3 kB / 0.4908 GB, free: 42.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.3216, allocations: 262.4 kB / 0.4911 GB, free: 42.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/0.3217, allocations: 122.3 kB / 0.4912 GB, free: 41.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.3217, allocations: 8.562 kB / 0.4912 GB, free: 41.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.3218, allocations: 343.2 kB / 0.4915 GB, free: 41.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.3221, allocations: 111.4 kB / 0.4916 GB, free: 41.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.3225, allocations: 210.4 kB / 0.4918 GB, free: 41.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.3231, allocations: 346.5 kB / 0.4922 GB, free: 41.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3231, allocations: 1.469 kB / 0.4922 GB, free: 41.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009635/0.3241, allocations: 437.5 kB / 0.4926 GB, free: 41.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3241, allocations: 9.5 kB / 0.4926 GB, free: 41.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3241, allocations: 6.594 kB / 0.4926 GB, free: 41.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.3243, allocations: 29.56 kB / 0.4926 GB, free: 41.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.3248, allocations: 119.8 kB / 0.4927 GB, free: 41.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008308/0.3256, allocations: 1.343 MB / 0.4941 GB, free: 40.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.3258, allocations: 23.95 kB / 0.4941 GB, free: 40.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.3259, allocations: 16.88 kB / 0.4941 GB, free: 40.09 MB / 378.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 (51): * Single equations (assignments): 50 * 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.0001763/0.3261, allocations: 165.5 kB / 0.4943 GB, free: 39.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.3261, allocations: 27.22 kB / 0.4943 GB, free: 39.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.3262, allocations: 38.38 kB / 0.4943 GB, free: 39.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3262, allocations: 3.438 kB / 0.4943 GB, free: 39.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3262, allocations: 1 kB / 0.4943 GB, free: 39.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3263, allocations: 3.297 kB / 0.4943 GB, free: 39.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.3273, allocations: 0.7222 MB / 0.495 GB, free: 39.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3273, allocations: 2.156 kB / 0.495 GB, free: 39.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.3277, allocations: 99.38 kB / 0.4951 GB, free: 39.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.778e-05/0.3278, allocations: 27.97 kB / 0.4952 GB, free: 39.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.3279, allocations: 7.703 kB / 0.4952 GB, free: 39.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006756/0.3285, allocations: 1.328 MB / 0.4965 GB, free: 38.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3286, allocations: 0.9688 kB / 0.4965 GB, free: 38.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.3295, allocations: 0.619 MB / 0.4971 GB, free: 38.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.549e-05/0.3296, allocations: 122.1 kB / 0.4972 GB, free: 37.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.3296, allocations: 10.84 kB / 0.4972 GB, free: 37.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.3299, allocations: 27.84 kB / 0.4972 GB, free: 37.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.33, allocations: 27.42 kB / 0.4972 GB, free: 37.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.33, allocations: 12.62 kB / 0.4973 GB, free: 37.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.3302, allocations: 182.7 kB / 0.4974 GB, free: 37.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3302, allocations: 0 / 0.4974 GB, free: 37.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004546/0.3307, allocations: 94.34 kB / 0.4975 GB, free: 37.86 MB / 378.7 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 (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.001221/0.3319, allocations: 1.158 MB / 0.4986 GB, free: 37.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008088/0.3327, allocations: 414.1 kB / 0.499 GB, free: 36.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3327, allocations: 0.75 kB / 0.499 GB, free: 36.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.3331, allocations: 259.3 kB / 0.4993 GB, free: 36.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.3336, allocations: 42.89 kB / 0.4993 GB, free: 36.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.337, allocations: 2.27 MB / 0.5015 GB, free: 35.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3373, allocations: 0.8141 MB / 0.5023 GB, free: 35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.3375, allocations: 143.4 kB / 0.5025 GB, free: 34.99 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3375, allocations: 4 kB / 0.5025 GB, free: 34.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.069/3.407, allocations: 7.124 MB / 0.5094 GB, free: 34.42 MB / 378.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)