Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.00167, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001933/0.001933, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2302/0.2302, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002545/0.002545, allocations: 83.86 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3438, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005205/0.3491, allocations: 3.517 MB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3508, allocations: 0.8235 MB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.3511, allocations: 12.19 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.3513, allocations: 75.55 kB / 0.5349 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.3516, allocations: 132.5 kB / 0.535 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.352, allocations: 126.9 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.3525, allocations: 0.5254 MB / 0.5357 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.3529, allocations: 240.7 kB / 0.5359 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.3532, allocations: 207.8 kB / 0.5361 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.3535, allocations: 230.2 kB / 0.5363 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.228e-05/0.3536, allocations: 49.34 kB / 0.5364 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.13e-05/0.3536, allocations: 53.66 kB / 0.5364 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.3538, allocations: 116.7 kB / 0.5365 GB, free: 8.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.3541, allocations: 248.3 kB / 0.5368 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000624/0.3547, allocations: 0.5539 MB / 0.5373 GB, free: 8.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3547, allocations: 3.984 kB / 0.5373 GB, free: 8.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3547, allocations: 0 / 0.5373 GB, free: 8.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3547, allocations: 0 / 0.5373 GB, free: 8.18 MB / 398.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.001343/0.3561, allocations: 0.7724 MB / 0.5381 GB, free: 7.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3561, allocations: 8.219 kB / 0.5381 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.703e-05/0.3562, allocations: 82.28 kB / 0.5382 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.52e-05/0.3563, allocations: 58.69 kB / 0.5382 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.3569, allocations: 325 kB / 0.5385 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.3569, allocations: 36.03 kB / 0.5386 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.357, allocations: 46.84 kB / 0.5386 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008512/0.3578, allocations: 464.7 kB / 0.539 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3579, allocations: 0 / 0.539 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.3579, allocations: 24.94 kB / 0.5391 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.358, allocations: 10.84 kB / 0.5391 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000728/0.3587, allocations: 324 kB / 0.5394 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.3613, allocations: 1.674 MB / 0.541 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.3618, allocations: 232.3 kB / 0.5412 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.3622, allocations: 142.2 kB / 0.5414 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3622, allocations: 6.938 kB / 0.5414 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.3623, allocations: 41.12 kB / 0.5414 GB, free: 4.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/0.3623, allocations: 3.938 kB / 0.5414 GB, free: 4.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003163/0.3655, allocations: 1.355 MB / 0.5428 GB, free: 3.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.3655, allocations: 84.83 kB / 0.5428 GB, free: 3.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.3659, allocations: 261.5 kB / 0.5431 GB, free: 3.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.3659, allocations: 31.7 kB / 0.5431 GB, free: 3.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.3661, allocations: 265.5 kB / 0.5434 GB, free: 3.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.3662, allocations: 132.5 kB / 0.5435 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.3663, allocations: 75.47 kB / 0.5436 GB, free: 3.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3665, allocations: 344.6 kB / 0.5439 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.3668, allocations: 106 kB / 0.544 GB, free: 2.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.3672, allocations: 215.4 kB / 0.5442 GB, free: 2.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.3679, allocations: 341.8 kB / 0.5445 GB, free: 2.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3679, allocations: 1.125 kB / 0.5445 GB, free: 2.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009026/0.3688, allocations: 419.1 kB / 0.5449 GB, free: 2.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3688, allocations: 6.312 kB / 0.5449 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3688, allocations: 3.469 kB / 0.5449 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.369, allocations: 33.69 kB / 0.545 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.3695, allocations: 123.4 kB / 0.5451 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.3708, allocations: 1.436 MB / 0.5465 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.3711, allocations: 24.48 kB / 0.5465 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.3711, allocations: 12.41 kB / 0.5465 GB, free: 0.6016 MB / 398.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002364/0.3713, allocations: 173.9 kB / 0.5467 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.3714, allocations: 34.2 kB / 0.5467 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.3715, allocations: 33.19 kB / 0.5468 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3715, allocations: 3.594 kB / 0.5468 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.3716, allocations: 1.094 kB / 0.5468 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.3716, allocations: 5.109 kB / 0.5468 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.3728, allocations: 0.7139 MB / 0.5475 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3728, allocations: 0 / 0.5475 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.3732, allocations: 91.88 kB / 0.5475 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.645e-05/0.3733, allocations: 36.84 kB / 0.5476 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.3734, allocations: 12 kB / 0.5476 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.3745, allocations: 1.423 MB / 0.549 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.3745, allocations: 3.938 kB / 0.549 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3756, allocations: 0.6058 MB / 0.5496 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.3757, allocations: 124.9 kB / 0.5497 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.3758, allocations: 8 kB / 0.5497 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.3761, allocations: 19.92 kB / 0.5497 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.3762, allocations: 31.91 kB / 0.5498 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3762, allocations: 15.98 kB / 0.5498 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.3764, allocations: 181.9 kB / 0.5499 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3764, allocations: 0 / 0.5499 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005021/0.3769, allocations: 96 kB / 0.55 GB, free: 12.87 MB / 414.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001406/0.3783, allocations: 1.147 MB / 0.5512 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009697/0.3793, allocations: 406.3 kB / 0.5515 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3793, allocations: 3.938 kB / 0.5515 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.3797, allocations: 253.7 kB / 0.5518 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.3803, allocations: 38.78 kB / 0.5518 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.3855, allocations: 3.496 MB / 0.5552 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.386, allocations: 0.8152 MB / 0.556 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.3862, allocations: 34.95 kB / 0.5561 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.3864, allocations: 135.4 kB / 0.5562 GB, free: 6.285 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3864, allocations: 0 / 0.5562 GB, free: 6.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03439/0.4208, allocations: 6.543 MB / 0.5626 GB, free: 15.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.86, allocations: 11.98 kB / 0.5626 GB, free: 15.9 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1)