Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_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.001307/0.001307, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2472/0.2472, allocations: 46.11 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 79.86 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3111, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005013/0.3162, allocations: 3.517 MB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3179, allocations: 0.8316 MB / 0.5349 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.3181, allocations: 8.156 kB / 0.5349 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.3183, allocations: 72.02 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.3186, allocations: 131.8 kB / 0.5351 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.3189, allocations: 135.5 kB / 0.5352 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005803/0.3195, allocations: 0.5253 MB / 0.5357 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.3199, allocations: 240.2 kB / 0.5359 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.3202, allocations: 204.5 kB / 0.5361 GB, free: 9.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.3206, allocations: 233.7 kB / 0.5364 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.628e-05/0.3207, allocations: 53.77 kB / 0.5364 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-05/0.3207, allocations: 48.59 kB / 0.5364 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.3209, allocations: 108.8 kB / 0.5366 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.3211, allocations: 249.2 kB / 0.5368 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.3217, allocations: 0.5607 MB / 0.5373 GB, free: 8.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3217, allocations: 0.9375 kB / 0.5373 GB, free: 8.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3217, allocations: 0 / 0.5373 GB, free: 8.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3218, allocations: 0 / 0.5373 GB, free: 8.188 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.00137/0.3231, allocations: 0.7714 MB / 0.5381 GB, free: 7.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3232, allocations: 14.05 kB / 0.5381 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.762e-05/0.3233, allocations: 81.72 kB / 0.5382 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.047e-05/0.3234, allocations: 55.14 kB / 0.5382 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005104/0.3239, allocations: 324.7 kB / 0.5385 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.3239, allocations: 32 kB / 0.5386 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.324, allocations: 50.72 kB / 0.5386 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/0.3249, allocations: 464.1 kB / 0.5391 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.3249, allocations: 3.938 kB / 0.5391 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/0.325, allocations: 20.5 kB / 0.5391 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.325, allocations: 11.91 kB / 0.5391 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007951/0.3258, allocations: 319.7 kB / 0.5394 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.3285, allocations: 1.675 MB / 0.541 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.329, allocations: 239.5 kB / 0.5413 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.3294, allocations: 135.2 kB / 0.5414 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.3294, allocations: 3.312 kB / 0.5414 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.3295, allocations: 40.92 kB / 0.5414 GB, free: 4.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 3.717e-06/0.3295, allocations: 3.938 kB / 0.5414 GB, free: 4.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003143/0.3326, allocations: 1.362 MB / 0.5428 GB, free: 3.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.3327, allocations: 81.73 kB / 0.5429 GB, free: 3.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.333, allocations: 261.7 kB / 0.5431 GB, free: 3.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.3331, allocations: 30.8 kB / 0.5431 GB, free: 3.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.3332, allocations: 269 kB / 0.5434 GB, free: 3.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.3334, allocations: 130.2 kB / 0.5435 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.3335, allocations: 74.47 kB / 0.5436 GB, free: 3.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3337, allocations: 345 kB / 0.5439 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.3339, allocations: 105.7 kB / 0.544 GB, free: 2.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.3343, allocations: 220.2 kB / 0.5442 GB, free: 2.609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006412/0.335, allocations: 330.5 kB / 0.5445 GB, free: 2.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.335, allocations: 5 kB / 0.5445 GB, free: 2.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008957/0.3359, allocations: 426 kB / 0.5449 GB, free: 2.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3359, allocations: 6.844 kB / 0.545 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3359, allocations: 4.438 kB / 0.545 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/0.3361, allocations: 36.47 kB / 0.545 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.3365, allocations: 119.7 kB / 0.5451 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.338, allocations: 1.434 MB / 0.5465 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.3383, allocations: 16.8 kB / 0.5465 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.3383, allocations: 17.19 kB / 0.5465 GB, free: 0.6133 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.0002367/0.3386, allocations: 173.9 kB / 0.5467 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.382e-05/0.3387, allocations: 34.2 kB / 0.5467 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.215e-05/0.3387, allocations: 40.86 kB / 0.5468 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3387, allocations: 3.625 kB / 0.5468 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3388, allocations: 1.281 kB / 0.5468 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.3388, allocations: 7.922 kB / 0.5468 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.34, allocations: 0.7067 MB / 0.5475 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.34, allocations: 4 kB / 0.5475 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.3404, allocations: 95.88 kB / 0.5476 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.683e-05/0.3405, allocations: 28.78 kB / 0.5476 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.3406, allocations: 8 kB / 0.5476 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.3418, allocations: 1.419 MB / 0.549 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3418, allocations: 8.094 kB / 0.549 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.3429, allocations: 0.6134 MB / 0.5496 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.3431, allocations: 120.9 kB / 0.5497 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.3431, allocations: 8.234 kB / 0.5497 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.3434, allocations: 23.92 kB / 0.5498 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.3435, allocations: 19.97 kB / 0.5498 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.3435, allocations: 11.98 kB / 0.5498 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.3437, allocations: 194 kB / 0.55 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3437, allocations: 0 / 0.55 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005399/0.3443, allocations: 95.94 kB / 0.5501 GB, free: 12.86 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.001482/0.3458, allocations: 1.143 MB / 0.5512 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009984/0.3468, allocations: 416.2 kB / 0.5516 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3468, allocations: 0 / 0.5516 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004467/0.3473, allocations: 255.6 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.0005303/0.3478, allocations: 49.34 kB / 0.5519 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/0.3535, allocations: 3.484 MB / 0.5553 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.3542, allocations: 0.8191 MB / 0.5561 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000206/0.3544, allocations: 34.95 kB / 0.5561 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.3546, allocations: 135.4 kB / 0.5562 GB, free: 6.273 MB / 414.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3546, allocations: 4 kB / 0.5562 GB, free: 6.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.3904, allocations: 6.529 MB / 0.5626 GB, free: 15.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.74, allocations: 15.48 kB / 0.5626 GB, free: 15.88 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1)