Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",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 trunk/package.mo): time 0.001019/0.001019, allocations: 200.2 kB / 8.54 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.098/1.098, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008165/0.0008165, allocations: 91.81 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08999/0.09083, allocations: 56.91 MB / 343.2 MB, free: 8.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08311/0.174, allocations: 51.47 MB / 394.7 MB, free: 5.047 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.3785, allocations: 81.08 MB / 475.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.3788, allocations: 87.39 kB / 475.9 MB, free: 11.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.02038/0.3992, allocations: 8.689 MB / 484.6 MB, free: 4.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3992, allocations: 12 kB / 484.6 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.3993, allocations: 39.47 kB / 484.6 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.3996, allocations: 271.4 kB / 484.9 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.3996, allocations: 12 kB / 484.9 MB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.3997, allocations: 16.94 kB / 484.9 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003135/0.4, allocations: 183.2 kB / 485.1 MB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.4003, allocations: 216.1 kB / 485.3 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4004, allocations: 3.906 kB / 485.3 MB, free: 4.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.4004, allocations: 4 kB / 485.3 MB, free: 4.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4004, allocations: 11.98 kB / 485.3 MB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.4018, allocations: 1.073 MB / 486.4 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.402, allocations: 119.8 kB / 486.5 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.4021, allocations: 58.47 kB / 486.6 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.4021, allocations: 3.984 kB / 486.6 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.4021, allocations: 35.5 kB / 486.6 MB, free: 2.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.4022, allocations: 0 / 486.6 MB, free: 2.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008752/0.403, allocations: 375.8 kB / 487 MB, free: 2.605 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.431e-05/0.4031, allocations: 63.09 kB / 487 MB, free: 2.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.4033, allocations: 236.1 kB / 487.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.4033, allocations: 26.64 kB / 487.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.4033, allocations: 205.1 kB / 487.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.4034, allocations: 73.12 kB / 487.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.4034, allocations: 0 / 487.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.4035, allocations: 336 kB / 487.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.4036, allocations: 67.97 kB / 488 MB, free: 1.688 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.4037, allocations: 162.6 kB / 488.1 MB, free: 1.516 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.4038, allocations: 80.7 kB / 488.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4039, allocations: 0 / 488.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004438/0.4043, allocations: 304.1 kB / 488.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.4043, allocations: 11.28 kB / 488.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4043, allocations: 4 kB / 488.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.4046, allocations: 63.52 kB / 488.6 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.4049, allocations: 83.45 kB / 488.7 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.4065, allocations: 2.505 MB / 491.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.4068, allocations: 24.16 kB / 491.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.4068, allocations: 15.06 kB / 491.2 MB, free: 14.38 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.597e-05/0.4069, allocations: 123.9 kB / 491.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.407, allocations: 27.62 kB / 491.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.407, allocations: 30.86 kB / 491.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.407, allocations: 4 kB / 491.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4071, allocations: 0 / 491.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4071, allocations: 0 / 491.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.4074, allocations: 279.4 kB / 491.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4074, allocations: 0 / 491.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.4076, allocations: 47.97 kB / 491.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001612/0.4078, allocations: 62.3 kB / 491.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.4078, allocations: 3.906 kB / 491.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.4095, allocations: 2.509 MB / 494.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4095, allocations: 0 / 494.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003825/0.4099, allocations: 311.4 kB / 494.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004575/0.4104, allocations: 0.6703 MB / 495.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.4104, allocations: 96.81 kB / 495.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.4105, allocations: 3.906 kB / 495.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.4107, allocations: 24.17 kB / 495.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.4108, allocations: 15.84 kB / 495.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.4108, allocations: 9.422 kB / 495.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001548/0.411, allocations: 182.9 kB / 495.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009725/0.4119, allocations: 60 kB / 495.6 MB, free: 9.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.4121, allocations: 115.9 kB / 495.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005468/0.4126, allocations: 387.3 kB / 496.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4126, allocations: 0 / 496.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.413, allocations: 291 kB / 496.4 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.4132, allocations: 24.61 kB / 496.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008406/0.4141, allocations: 351.2 kB / 496.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/0.4145, allocations: 0.8159 MB / 497.6 MB, free: 7.973 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4145, allocations: 0 / 497.6 MB, free: 7.973 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1)