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.001083/0.001082, allocations: 96.83 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 172.7 kB / 16.57 MB, free: 6.391 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.873/1.873, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4566/0.4566, allocations: 43.54 MB / 314.5 MB, free: 8.777 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.0005871/0.0005874, allocations: 16 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1515, allocations: 58.85 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003628/0.1552, allocations: 2.748 MB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1568, allocations: 0.827 MB / 446.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.157, allocations: 8 kB / 446.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.263e-05/0.1571, allocations: 51.61 kB / 446.5 MB, free: 9.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.1574, allocations: 139.6 kB / 446.6 MB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.1578, allocations: 95.84 kB / 446.7 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.1582, allocations: 351.8 kB / 447 MB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.1586, allocations: 194.5 kB / 447.2 MB, free: 8.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.1588, allocations: 175.3 kB / 447.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.1591, allocations: 195.1 kB / 447.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.1592, allocations: 24 kB / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-05/0.1593, allocations: 28 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.1593, allocations: 79.67 kB / 447.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1595, allocations: 113.5 kB / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.1599, allocations: 415 kB / 448.2 MB, free: 7.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1599, allocations: 0 / 448.2 MB, free: 7.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1599, allocations: 0 / 448.2 MB, free: 7.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1599, allocations: 0 / 448.2 MB, free: 7.527 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.001303/0.1612, allocations: 0.694 MB / 448.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.1613, allocations: 12.03 kB / 448.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.1614, allocations: 90.52 kB / 449 MB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.885e-05/0.1615, allocations: 59.3 kB / 449.1 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.162, allocations: 304.3 kB / 449.4 MB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.162, allocations: 33 kB / 449.4 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.1621, allocations: 44 kB / 449.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000798/0.1629, allocations: 466.9 kB / 449.9 MB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1629, allocations: 0 / 449.9 MB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.163, allocations: 16 kB / 449.9 MB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.163, allocations: 12 kB / 450 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007099/0.1637, allocations: 339.7 kB / 450.3 MB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002534/0.1662, allocations: 1.686 MB / 452 MB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.1668, allocations: 245 kB / 452.2 MB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.1669, allocations: 4.219 kB / 452.2 MB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1669, allocations: 42.5 kB / 452.3 MB, free: 3.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.1669, allocations: 4 kB / 452.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.002915/0.1698, allocations: 1.334 MB / 453.6 MB, free: 1.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.1699, allocations: 81.11 kB / 453.7 MB, free: 1.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.1702, allocations: 262.5 kB / 453.9 MB, free: 1.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.1703, allocations: 33.7 kB / 454 MB, free: 1.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.1704, allocations: 263.4 kB / 454.2 MB, free: 1.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.1705, allocations: 114.3 kB / 454.3 MB, free: 1.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.1706, allocations: 12 kB / 454.3 MB, free: 1.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1707, allocations: 342.8 kB / 454.7 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.171, allocations: 108.8 kB / 454.8 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.1714, allocations: 220.2 kB / 455 MB, free: 308 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.1717, allocations: 135.4 kB / 455.1 MB, free: 176 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1717, allocations: 4 kB / 455.1 MB, free: 172 kB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.2697/0.4414, allocations: 407.2 kB / 455.5 MB, free: 45.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.4415, allocations: 8.453 kB / 455.5 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4415, allocations: 3.062 kB / 455.5 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.4417, allocations: 30.77 kB / 455.6 MB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.4422, allocations: 122 kB / 455.7 MB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008691/0.4431, allocations: 1.332 MB / 457 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.4434, allocations: 23.25 kB / 457 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.4434, allocations: 15.53 kB / 457.1 MB, free: 44.54 MB / 382.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 (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.0002185/0.4437, allocations: 168.2 kB / 457.2 MB, free: 44.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/0.4437, allocations: 28.19 kB / 457.3 MB, free: 44.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.4438, allocations: 37.81 kB / 457.3 MB, free: 44.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4438, allocations: 7.031 kB / 457.3 MB, free: 44.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.4438, allocations: 3.094 kB / 457.3 MB, free: 44.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.4439, allocations: 1.781 kB / 457.3 MB, free: 44.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.4444, allocations: 421.2 kB / 457.7 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.4444, allocations: 3 kB / 457.7 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.4448, allocations: 95.11 kB / 457.8 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.26e-05/0.4449, allocations: 28.38 kB / 457.8 MB, free: 44.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.445, allocations: 5.109 kB / 457.8 MB, free: 44.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008421/0.4458, allocations: 1.34 MB / 459.2 MB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4458, allocations: 0 / 459.2 MB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.447, allocations: 0.6189 MB / 459.8 MB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.4471, allocations: 122.6 kB / 459.9 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.4472, allocations: 7.281 kB / 459.9 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.4475, allocations: 22.16 kB / 459.9 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.677e-05/0.4476, allocations: 28.95 kB / 460 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.4476, allocations: 5.281 kB / 460 MB, free: 42.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.4478, allocations: 184.2 kB / 460.2 MB, free: 42.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4478, allocations: 0 / 460.2 MB, free: 42.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005292/0.4484, allocations: 90.5 kB / 460.3 MB, free: 42.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * 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 (31): * Single equations (assignments): 30 * 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.001389/0.4497, allocations: 1.225 MB / 461.5 MB, free: 41.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009042/0.4507, allocations: 410.2 kB / 461.9 MB, free: 41.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4507, allocations: 1.594 kB / 461.9 MB, free: 41.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.4511, allocations: 252.7 kB / 462.1 MB, free: 41.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.4515, allocations: 38.42 kB / 462.2 MB, free: 41.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.4556, allocations: 4.173 MB / 466.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.4559, allocations: 0.8229 MB / 467.2 MB, free: 37.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001657/0.4561, allocations: 36.02 kB / 467.2 MB, free: 37.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.4563, allocations: 138.9 kB / 467.3 MB, free: 37.73 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4563, allocations: 0 / 467.3 MB, free: 37.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.4741, allocations: 5.68 MB / 473 MB, free: 37.22 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.4744, allocations: 193.6 kB / 473.2 MB, free: 36.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.35, allocations: 4 kB / 473.2 MB, free: 36.98 MB / 382.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/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) Environment - environmentSimulation: