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.0008074/0.0008074, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008715/0.0008716, allocations: 175.2 kB / 16.58 MB, free: 6.84 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.591/1.591, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.4053/0.4053, allocations: 43.56 MB / 314.6 MB, free: 8.73 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.0005111/0.0005112, allocations: 22.97 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1229, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003789/0.1268, allocations: 2.915 MB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1287, allocations: 0.7996 MB / 446.6 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004562/0.1292, allocations: 8 kB / 446.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.1294, allocations: 55.55 kB / 446.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.1298, allocations: 99.16 kB / 446.8 MB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.1303, allocations: 99.88 kB / 446.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006761/0.131, allocations: 486.4 kB / 447.3 MB, free: 8.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.1313, allocations: 194.4 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.1317, allocations: 175.3 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.132, allocations: 187.2 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.627e-05/0.1321, allocations: 31.94 kB / 447.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.341e-05/0.1322, allocations: 24 kB / 447.9 MB, free: 7.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.826e-05/0.1323, allocations: 79.67 kB / 448 MB, free: 7.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1324, allocations: 113.5 kB / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.1328, allocations: 419 kB / 448.5 MB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1328, allocations: 0 / 448.5 MB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1328, allocations: 0 / 448.5 MB, free: 7.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.1329, allocations: 0 / 448.5 MB, free: 7.285 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.001268/0.1341, allocations: 0.6979 MB / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.1342, allocations: 12.03 kB / 449.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.1343, allocations: 90.45 kB / 449.3 MB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1345, allocations: 55.3 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.1349, allocations: 308.4 kB / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.1349, allocations: 40.94 kB / 449.7 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.135, allocations: 40 kB / 449.8 MB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008371/0.1359, allocations: 467 kB / 450.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1359, allocations: 0 / 450.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.1359, allocations: 20 kB / 450.2 MB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.136, allocations: 12 kB / 450.2 MB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/0.1367, allocations: 339.7 kB / 450.6 MB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.1392, allocations: 1.69 MB / 452.3 MB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.1397, allocations: 237 kB / 452.5 MB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.1401, allocations: 145.6 kB / 452.6 MB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1401, allocations: 8.156 kB / 452.6 MB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1401, allocations: 38.5 kB / 452.7 MB, free: 2.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.1401, allocations: 0 / 452.7 MB, free: 2.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002879/0.143, allocations: 1.364 MB / 454 MB, free: 1.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1431, allocations: 81.11 kB / 454.1 MB, free: 1.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.1434, allocations: 262.5 kB / 454.4 MB, free: 1.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1434, allocations: 33.7 kB / 454.4 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.1436, allocations: 259.4 kB / 454.7 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/0.1437, allocations: 114.4 kB / 454.8 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.1437, allocations: 11.94 kB / 454.8 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1439, allocations: 346.8 kB / 455.1 MB, free: 248 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.1442, allocations: 104.8 kB / 455.2 MB, free: 144 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2474/0.3916, allocations: 217.8 kB / 455.4 MB, free: 45.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.3921, allocations: 137.9 kB / 455.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3921, allocations: 2.875 kB / 455.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008217/0.3929, allocations: 425.8 kB / 456 MB, free: 45.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3929, allocations: 5.531 kB / 456 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.393, allocations: 2.594 kB / 456 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.3931, allocations: 38.5 kB / 456 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.3936, allocations: 122.6 kB / 456.2 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007935/0.3944, allocations: 1.332 MB / 457.5 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.3946, allocations: 25.09 kB / 457.5 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.3946, allocations: 17.84 kB / 457.5 MB, free: 44.68 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 (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.0001821/0.3948, allocations: 170.8 kB / 457.7 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.3949, allocations: 31.78 kB / 457.7 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.395, allocations: 39.27 kB / 457.8 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.395, allocations: 4.875 kB / 457.8 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.395, allocations: 0.5625 kB / 457.8 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.395, allocations: 6.281 kB / 457.8 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009108/0.3959, allocations: 0.7189 MB / 458.5 MB, free: 44.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.3959, allocations: 0 / 458.5 MB, free: 44.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.3963, allocations: 96.23 kB / 458.6 MB, free: 44.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.765e-05/0.3964, allocations: 27.62 kB / 458.6 MB, free: 44.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3964, allocations: 6.625 kB / 458.6 MB, free: 44.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005822/0.397, allocations: 1.336 MB / 460 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.397, allocations: 0 / 460 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/0.3978, allocations: 0.6122 MB / 460.6 MB, free: 42.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.3979, allocations: 123.4 kB / 460.7 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.398, allocations: 7.25 kB / 460.7 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.3982, allocations: 27.61 kB / 460.7 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.3983, allocations: 23.39 kB / 460.8 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.3983, allocations: 15.66 kB / 460.8 MB, free: 42.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.3984, allocations: 178.4 kB / 460.9 MB, free: 42.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3984, allocations: 0 / 460.9 MB, free: 42.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004258/0.3989, allocations: 91.16 kB / 461 MB, free: 42.56 MB / 382.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 (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.0009886/0.3999, allocations: 1.157 MB / 462.2 MB, free: 41.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006756/0.4006, allocations: 409.7 kB / 462.6 MB, free: 41.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4006, allocations: 0 / 462.6 MB, free: 41.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.4009, allocations: 264.1 kB / 462.9 MB, free: 41.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.4014, allocations: 40.44 kB / 462.9 MB, free: 41.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.4045, allocations: 2.254 MB / 465.1 MB, free: 40.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.4047, allocations: 0.8083 MB / 466 MB, free: 39.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.4049, allocations: 33.86 kB / 466 MB, free: 39.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.405, allocations: 141.6 kB / 466.1 MB, free: 39.74 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.405, allocations: 0 / 466.1 MB, free: 39.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.4234, allocations: 5.759 MB / 471.9 MB, free: 39.21 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.4236, allocations: 194.5 kB / 472.1 MB, free: 38.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.189, allocations: 0 / 472.1 MB, free: 38.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: