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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001329/0.001329, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 86.62 kB / 261.7 MB, free: 1.68 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.2278/0.2278, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.854e-05, allocations: 0 / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.433/0.5642, allocations: 88.84 MB / 0.5528 GB, free: 6.199 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.5644, allocations: 70 kB / 0.5528 GB, free: 6.168 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02086/0.5853, allocations: 8.826 MB / 0.5615 GB, free: 14.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5853, allocations: 0 / 0.5615 GB, free: 14.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.5854, allocations: 16 kB / 0.5615 GB, free: 14.95 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.00107/0.5865, allocations: 0.6493 MB / 0.5621 GB, free: 14.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5865, allocations: 12.03 kB / 0.5621 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.381e-05/0.5866, allocations: 51.39 kB / 0.5622 GB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.587, allocations: 304.9 kB / 0.5625 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.5871, allocations: 16 kB / 0.5625 GB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.5871, allocations: 34.73 kB / 0.5625 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004444/0.5876, allocations: 251.8 kB / 0.5627 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.5882, allocations: 360.8 kB / 0.5631 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5882, allocations: 7.938 kB / 0.5631 GB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.5883, allocations: 7.984 kB / 0.5631 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.5883, allocations: 8 kB / 0.5631 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.5907, allocations: 1.618 MB / 0.5647 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.591, allocations: 199 kB / 0.5649 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.5912, allocations: 110.6 kB / 0.565 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.5913, allocations: 4.203 kB / 0.565 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.5913, allocations: 50.06 kB / 0.565 GB, free: 11.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.784e-06/0.5913, allocations: 0 / 0.565 GB, free: 11.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.00185/0.5932, allocations: 1.014 MB / 0.566 GB, free: 10.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.5932, allocations: 81.11 kB / 0.5661 GB, free: 10.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.5935, allocations: 221.4 kB / 0.5663 GB, free: 10.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.5936, allocations: 25.7 kB / 0.5663 GB, free: 10.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.5937, allocations: 262.5 kB / 0.5666 GB, free: 10.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.589e-05/0.5938, allocations: 111.1 kB / 0.5667 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.5939, allocations: 0 / 0.5667 GB, free: 10.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.594, allocations: 339.3 kB / 0.567 GB, free: 9.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.5942, allocations: 82.81 kB / 0.5671 GB, free: 9.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.5944, allocations: 175 kB / 0.5673 GB, free: 9.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.5946, allocations: 109.1 kB / 0.5674 GB, free: 9.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.5946, allocations: 0 / 0.5674 GB, free: 9.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005115/0.5951, allocations: 346.1 kB / 0.5677 GB, free: 9.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5951, allocations: 4 kB / 0.5677 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.5952, allocations: 4.344 kB / 0.5677 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/0.5953, allocations: 35.34 kB / 0.5677 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.5958, allocations: 119.3 kB / 0.5679 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.5969, allocations: 1.284 MB / 0.5691 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.5971, allocations: 11.98 kB / 0.5691 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.5971, allocations: 15.25 kB / 0.5691 GB, free: 7.625 MB / 378.7 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.000118/0.5973, allocations: 119.9 kB / 0.5693 GB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004718/0.5977, allocations: 247.7 kB / 0.5695 GB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.5978, allocations: 31.62 kB / 0.5695 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.259e-05/0.5979, allocations: 33.97 kB / 0.5696 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5979, allocations: 4 kB / 0.5696 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5979, allocations: 0 / 0.5696 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5979, allocations: 4 kB / 0.5696 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.5989, allocations: 0.6304 MB / 0.5702 GB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5989, allocations: 0 / 0.5702 GB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.5993, allocations: 91.88 kB / 0.5703 GB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-05/0.5994, allocations: 39.91 kB / 0.5703 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.5994, allocations: 3.984 kB / 0.5703 GB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009034/0.6003, allocations: 1.262 MB / 0.5715 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6003, allocations: 4.031 kB / 0.5715 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.601, allocations: 0.5616 MB / 0.5721 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.6011, allocations: 120 kB / 0.5722 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.6012, allocations: 7.953 kB / 0.5722 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.6015, allocations: 15.98 kB / 0.5722 GB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.6015, allocations: 27.84 kB / 0.5723 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.6016, allocations: 7.984 kB / 0.5723 GB, free: 4.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.6017, allocations: 172.4 kB / 0.5724 GB, free: 4.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6017, allocations: 0 / 0.5724 GB, free: 4.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004675/0.6022, allocations: 76 kB / 0.5725 GB, free: 4.352 MB / 378.7 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.001025/0.6032, allocations: 1.3 MB / 0.5738 GB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005722/0.6038, allocations: 345.5 kB / 0.5741 GB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6038, allocations: 8.062 kB / 0.5741 GB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.6041, allocations: 219.9 kB / 0.5743 GB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.6044, allocations: 24.14 kB / 0.5743 GB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.6059, allocations: 0.7259 MB / 0.575 GB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.6064, allocations: 0.8191 MB / 0.5758 GB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001598/0.6065, allocations: 35.27 kB / 0.5759 GB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.6067, allocations: 134.9 kB / 0.576 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6067, allocations: 0 / 0.576 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.6326, allocations: 5.162 MB / 0.5811 GB, free: 11.83 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.6328, allocations: 129 kB / 0.5812 GB, free: 11.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.603, allocations: 0 / 0.5812 GB, free: 11.64 MB / 394.7 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/linux/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)