Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 178.6 kB / 8.519 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.4 MB / 230.3 MB, free: 7.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008774/0.0008774, allocations: 83.73 kB / 281.2 MB, free: 5.543 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 44.15 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2121/0.4411, allocations: 68.03 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.5856, allocations: 61.91 MB / 0.4942 GB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3045/0.8901, allocations: 91.07 MB / 0.5831 GB, free: 5.773 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.8904, allocations: 71.95 kB / 0.5832 GB, free: 5.703 MB / 394.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.02513/0.9155, allocations: 9.554 MB / 0.5925 GB, free: 12.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.9156, allocations: 11.94 kB / 0.5925 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.818e-05/0.9157, allocations: 51.44 kB / 0.5926 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.9161, allocations: 312.2 kB / 0.5929 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.9161, allocations: 19.91 kB / 0.5929 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.9162, allocations: 24 kB / 0.5929 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004609/0.9167, allocations: 257.9 kB / 0.5932 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006592/0.9174, allocations: 369.2 kB / 0.5935 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.9174, allocations: 0 / 0.5935 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.9174, allocations: 0 / 0.5935 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.9174, allocations: 12 kB / 0.5935 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.9198, allocations: 1.622 MB / 0.5951 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.9201, allocations: 127.4 kB / 0.5952 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.9203, allocations: 119.7 kB / 0.5953 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.9203, allocations: 7.875 kB / 0.5954 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.9204, allocations: 34.56 kB / 0.5954 GB, free: 8.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.9204, allocations: 0 / 0.5954 GB, free: 8.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001847/0.9222, allocations: 1.015 MB / 0.5964 GB, free: 7.852 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.9223, allocations: 85.02 kB / 0.5965 GB, free: 7.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.9225, allocations: 213 kB / 0.5967 GB, free: 7.539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.9225, allocations: 25.7 kB / 0.5967 GB, free: 7.508 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.9226, allocations: 243.4 kB / 0.5969 GB, free: 7.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.9227, allocations: 114.2 kB / 0.597 GB, free: 7.148 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.9227, allocations: 0 / 0.597 GB, free: 7.148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.9228, allocations: 342.7 kB / 0.5974 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.923, allocations: 88.88 kB / 0.5974 GB, free: 6.719 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.9232, allocations: 171.1 kB / 0.5976 GB, free: 6.508 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.9233, allocations: 100.8 kB / 0.5977 GB, free: 6.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9233, allocations: 4 kB / 0.5977 GB, free: 6.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005173/0.9239, allocations: 342.9 kB / 0.598 GB, free: 6.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.9239, allocations: 11.94 kB / 0.598 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.9239, allocations: 0 / 0.598 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001063/0.924, allocations: 28.84 kB / 0.5981 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.9245, allocations: 132.1 kB / 0.5982 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008771/0.9254, allocations: 1.265 MB / 0.5994 GB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.9257, allocations: 12.03 kB / 0.5994 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.9257, allocations: 19.94 kB / 0.5995 GB, free: 4.484 MB / 410.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 8.408e-05/0.9258, allocations: 112.8 kB / 0.5996 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.9259, allocations: 31.78 kB / 0.5996 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.9259, allocations: 33.89 kB / 0.5996 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.9259, allocations: 7.906 kB / 0.5996 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.926, allocations: 0 / 0.5996 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.926, allocations: 11.92 kB / 0.5996 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008391/0.9268, allocations: 0.6183 MB / 0.6003 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9268, allocations: 4 kB / 0.6003 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.9273, allocations: 95.88 kB / 0.6003 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.599e-05/0.9274, allocations: 24.84 kB / 0.6004 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.9274, allocations: 8 kB / 0.6004 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008149/0.9282, allocations: 1.256 MB / 0.6016 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9283, allocations: 4 kB / 0.6016 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006224/0.9289, allocations: 0.56 MB / 0.6022 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008953/0.9298, allocations: 1.053 MB / 0.6032 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.9299, allocations: 120.7 kB / 0.6033 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.93, allocations: 0 / 0.6033 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.9303, allocations: 19.98 kB / 0.6033 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.9303, allocations: 19.88 kB / 0.6033 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.9304, allocations: 16 kB / 0.6034 GB, free: 212 kB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001344/0.9305, allocations: 165.2 kB / 0.6035 GB, free: 44 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001004/0.9315, allocations: 80.05 kB / 0.6036 GB, free: 15.96 MB / 426.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.0001314/0.9317, allocations: 103.1 kB / 0.6037 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.9322, allocations: 338.1 kB / 0.604 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9322, allocations: 4.188 kB / 0.604 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.9324, allocations: 217.5 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.9328, allocations: 30.98 kB / 0.6042 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.934, allocations: 0.6481 MB / 0.6049 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004942/0.9345, allocations: 0.8647 MB / 0.6057 GB, free: 13.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.9345, allocations: 0 / 0.6057 GB, free: 13.68 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1)