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.002168/0.002168, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001908/0.001908, allocations: 86.47 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3262/0.3262, allocations: 43.48 MB / 353.5 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.974e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4446, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/0.6833, allocations: 88.84 MB / 0.5528 GB, free: 10.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.6837, allocations: 63.97 kB / 0.5528 GB, free: 10.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04273/0.7264, allocations: 8.82 MB / 0.5614 GB, free: 1.441 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7265, allocations: 0 / 0.5614 GB, free: 1.441 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.204e-05/0.7265, allocations: 16 kB / 0.5614 GB, free: 1.426 MB / 395.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.001689/0.7282, allocations: 0.6559 MB / 0.5621 GB, free: 0.7227 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.7283, allocations: 8.031 kB / 0.5621 GB, free: 0.7148 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.7285, allocations: 51.39 kB / 0.5621 GB, free: 0.6641 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.7292, allocations: 308.5 kB / 0.5624 GB, free: 328 kB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/0.7292, allocations: 16 kB / 0.5624 GB, free: 312 kB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.405e-05/0.7293, allocations: 28 kB / 0.5625 GB, free: 284 kB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008025/0.7301, allocations: 254.6 kB / 0.5627 GB, free: 28 kB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009733/0.7311, allocations: 372.5 kB / 0.5631 GB, free: 15.64 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.7312, allocations: 0 / 0.5631 GB, free: 15.64 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.432e-05/0.7312, allocations: 7.938 kB / 0.5631 GB, free: 15.63 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.7313, allocations: 8 kB / 0.5631 GB, free: 15.62 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003959/0.7352, allocations: 1.618 MB / 0.5647 GB, free: 13.91 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.7359, allocations: 198.5 kB / 0.5649 GB, free: 13.7 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.7362, allocations: 117.7 kB / 0.565 GB, free: 13.57 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.7362, allocations: 4.156 kB / 0.565 GB, free: 13.57 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.7363, allocations: 42.5 kB / 0.565 GB, free: 13.52 MB / 411.1 MB Notification: Performance of pre-optimization done (n=26): time 2.865e-06/0.7363, allocations: 0 / 0.565 GB, free: 13.52 MB / 411.1 MB Notification: Performance of matching and sorting (n=34): time 0.002922/0.7392, allocations: 1.016 MB / 0.566 GB, free: 12.4 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.7393, allocations: 81.11 kB / 0.5661 GB, free: 12.3 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.7397, allocations: 222 kB / 0.5663 GB, free: 12.09 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.7398, allocations: 25.7 kB / 0.5663 GB, free: 12.05 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.74, allocations: 309.9 kB / 0.5666 GB, free: 11.75 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.7401, allocations: 118.3 kB / 0.5667 GB, free: 11.63 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.7401, allocations: 0 / 0.5667 GB, free: 11.63 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7403, allocations: 326.8 kB / 0.567 GB, free: 11.3 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.7405, allocations: 80.88 kB / 0.5671 GB, free: 11.23 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.7409, allocations: 179.7 kB / 0.5673 GB, free: 11.01 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.7412, allocations: 108.8 kB / 0.5674 GB, free: 10.91 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.7412, allocations: 4 kB / 0.5674 GB, free: 10.9 MB / 411.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009285/0.7422, allocations: 333.6 kB / 0.5677 GB, free: 10.57 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.7422, allocations: 7.938 kB / 0.5677 GB, free: 10.57 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.7422, allocations: 4 kB / 0.5677 GB, free: 10.56 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001952/0.7424, allocations: 32.83 kB / 0.5678 GB, free: 10.53 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008951/0.7433, allocations: 119.9 kB / 0.5679 GB, free: 10.41 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.7448, allocations: 1.284 MB / 0.5691 GB, free: 9.004 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.7453, allocations: 16.05 kB / 0.5691 GB, free: 8.988 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.7454, allocations: 16 kB / 0.5692 GB, free: 8.973 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001557/0.7456, allocations: 116.9 kB / 0.5693 GB, free: 8.852 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007058/0.7463, allocations: 243.2 kB / 0.5695 GB, free: 8.605 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-05/0.7464, allocations: 27.72 kB / 0.5695 GB, free: 8.578 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.7465, allocations: 37.91 kB / 0.5696 GB, free: 8.543 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.7465, allocations: 8 kB / 0.5696 GB, free: 8.535 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.7465, allocations: 4 kB / 0.5696 GB, free: 8.531 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.7466, allocations: 0 / 0.5696 GB, free: 8.531 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.748, allocations: 0.626 MB / 0.5702 GB, free: 7.852 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.748, allocations: 4 kB / 0.5702 GB, free: 7.848 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008294/0.7489, allocations: 99.94 kB / 0.5703 GB, free: 7.75 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001385/0.749, allocations: 24.84 kB / 0.5703 GB, free: 7.723 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.7491, allocations: 3.984 kB / 0.5703 GB, free: 7.719 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.7503, allocations: 1.268 MB / 0.5716 GB, free: 6.34 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.7504, allocations: 3.984 kB / 0.5716 GB, free: 6.336 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.7514, allocations: 0.5644 MB / 0.5721 GB, free: 5.727 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.7517, allocations: 112.8 kB / 0.5722 GB, free: 5.598 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.7517, allocations: 7.953 kB / 0.5722 GB, free: 5.59 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.7522, allocations: 19.98 kB / 0.5722 GB, free: 5.57 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.7523, allocations: 27.91 kB / 0.5723 GB, free: 5.543 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.7524, allocations: 15.98 kB / 0.5723 GB, free: 5.527 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.7527, allocations: 162 kB / 0.5724 GB, free: 5.371 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7527, allocations: 0 / 0.5724 GB, free: 5.371 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0007029/0.7534, allocations: 80 kB / 0.5725 GB, free: 5.293 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete 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.001536/0.7549, allocations: 1.306 MB / 0.5738 GB, free: 3.938 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0009068/0.7559, allocations: 345.5 kB / 0.5741 GB, free: 3.59 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.7559, allocations: 0 / 0.5741 GB, free: 3.59 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.7563, allocations: 221.6 kB / 0.5743 GB, free: 3.363 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.7568, allocations: 21.31 kB / 0.5743 GB, free: 3.344 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.7592, allocations: 0.7509 MB / 0.5751 GB, free: 2.531 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.7597, allocations: 0.8191 MB / 0.5759 GB, free: 1.684 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.76, allocations: 139.4 kB / 0.576 GB, free: 1.551 MB / 411.1 MB Notification: Performance of SimCode: time 1.333e-06/0.7601, allocations: 4 kB / 0.576 GB, free: 1.547 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.841/3.601, allocations: 7.436 MB / 0.5833 GB, free: 10.12 MB / 427.1 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)