Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",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.002547/0.002551, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001132/0.001132, allocations: 94.41 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.000409, allocations: 12 kB / 327.1 MB, free: 96 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3269, allocations: 47.58 MB / 374.6 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004986/0.3319, allocations: 3.407 MB / 378 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.3354, allocations: 1.544 MB / 379.6 MB, free: 41.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004073/0.3359, allocations: 12.09 kB / 379.6 MB, free: 41.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.3366, allocations: 176.4 kB / 379.8 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008518/0.3374, allocations: 232.8 kB / 380 MB, free: 41.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.3395, allocations: 0.6469 MB / 380.7 MB, free: 40.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009953/0.3405, allocations: 441.8 kB / 381.1 MB, free: 40.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/0.3426, allocations: 0.8233 MB / 381.9 MB, free: 39.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005184/0.3431, allocations: 233 kB / 382.1 MB, free: 39.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004608/0.3436, allocations: 296 kB / 382.4 MB, free: 39.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.194e-05/0.3437, allocations: 28.31 kB / 382.4 MB, free: 39.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000762/0.3445, allocations: 211 kB / 382.7 MB, free: 39.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.3446, allocations: 102.2 kB / 382.8 MB, free: 39.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.3448, allocations: 135.1 kB / 382.9 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.3458, allocations: 0.6955 MB / 383.6 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3459, allocations: 0 / 383.6 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3459, allocations: 0 / 383.6 MB, free: 38.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3459, allocations: 1.406 kB / 383.6 MB, free: 38.82 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005261/0.3512, allocations: 1.16 MB / 384.7 MB, free: 37.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3512, allocations: 10.03 kB / 384.8 MB, free: 37.98 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/0.3515, allocations: 122.2 kB / 384.9 MB, free: 37.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/0.3535, allocations: 212.6 kB / 385.1 MB, free: 37.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.3538, allocations: 232.7 kB / 385.3 MB, free: 37.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/0.3539, allocations: 55.62 kB / 385.4 MB, free: 37.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.3541, allocations: 72.12 kB / 385.4 MB, free: 37.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.3562, allocations: 0.7712 MB / 386.2 MB, free: 37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/0.3563, allocations: 1.031 kB / 386.2 MB, free: 37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.3564, allocations: 31 kB / 386.2 MB, free: 36.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.3564, allocations: 17.47 kB / 386.3 MB, free: 36.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.3586, allocations: 0.6862 MB / 386.9 MB, free: 36.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005626/0.3643, allocations: 3.13 MB / 390.1 MB, free: 32.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.3674, allocations: 2.084 MB / 392.2 MB, free: 30.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.3676, allocations: 101.7 kB / 392.3 MB, free: 30.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3677, allocations: 39.22 kB / 392.3 MB, free: 30.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.657e-06/0.3677, allocations: 0 / 392.3 MB, free: 30.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.004017/0.3717, allocations: 1.159 MB / 393.4 MB, free: 29.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.3718, allocations: 111.5 kB / 393.6 MB, free: 29.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.3722, allocations: 270.5 kB / 393.8 MB, free: 28.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/0.3722, allocations: 37.7 kB / 393.9 MB, free: 28.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.3724, allocations: 353.8 kB / 394.2 MB, free: 28.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.3726, allocations: 248.4 kB / 394.4 MB, free: 28.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.3727, allocations: 12 kB / 394.5 MB, free: 28.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.3728, allocations: 350.8 kB / 394.8 MB, free: 27.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000856/0.3736, allocations: 237.9 kB / 395 MB, free: 27.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009094/0.3746, allocations: 394.3 kB / 395.4 MB, free: 27.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009347/0.3755, allocations: 290.9 kB / 395.7 MB, free: 26.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.3755, allocations: 4 kB / 395.7 MB, free: 26.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002456/0.378, allocations: 0.8384 MB / 396.5 MB, free: 26.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.3781, allocations: 4.094 kB / 396.5 MB, free: 26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.3781, allocations: 8 kB / 396.6 MB, free: 26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005354/0.3786, allocations: 109.6 kB / 396.7 MB, free: 25.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.3799, allocations: 167.8 kB / 396.8 MB, free: 25.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.383, allocations: 3.168 MB / 400 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009562/0.384, allocations: 91.25 kB / 400.1 MB, free: 22.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.3841, allocations: 28 kB / 400.1 MB, free: 22.17 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (88): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003449/0.3845, allocations: 205.7 kB / 400.3 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.3846, allocations: 39.44 kB / 400.4 MB, free: 21.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.387, allocations: 0.7611 MB / 401.1 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.3871, allocations: 8 kB / 401.1 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3871, allocations: 7.938 kB / 401.1 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.3871, allocations: 3.984 kB / 401.1 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/0.3905, allocations: 1.441 MB / 402.6 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.3906, allocations: 0 / 402.6 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009594/0.3916, allocations: 127.8 kB / 402.7 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.392, allocations: 113.6 kB / 402.8 MB, free: 19.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/0.3921, allocations: 15.98 kB / 402.8 MB, free: 19.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003036/0.3952, allocations: 3.148 MB / 406 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3952, allocations: 8.094 kB / 406 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.3984, allocations: 1.165 MB / 407.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.3986, allocations: 120.5 kB / 407.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.513e-05/0.3987, allocations: 16 kB / 407.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006882/0.3994, allocations: 31.97 kB / 407.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.3996, allocations: 64.59 kB / 407.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/0.3996, allocations: 16 kB / 407.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002274/0.3999, allocations: 193.9 kB / 407.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3999, allocations: 0 / 407.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009815/0.4009, allocations: 215.4 kB / 407.8 MB, free: 14.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003428/0.4043, allocations: 1.818 MB / 409.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.4067, allocations: 0.8952 MB / 410.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4067, allocations: 4.75 kB / 410.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.4079, allocations: 0.5751 MB / 411.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.4086, allocations: 24.62 kB / 411.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/0.4161, allocations: 5.52 MB / 416.6 MB, free: 5.031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.4165, allocations: 0.8733 MB / 417.5 MB, free: 4.129 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/0.417, allocations: 211.3 kB / 417.7 MB, free: 3.922 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4171, allocations: 0 / 417.7 MB, free: 3.922 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.983/3.4, allocations: 13.1 MB / 430.8 MB, free: 6.816 MB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat