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.001486/0.001486, allocations: 115.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002042/0.002042, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 75.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2967, allocations: 62.42 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004514/0.3012, allocations: 3.521 MB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3026, allocations: 0.8277 MB / 0.5347 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.3029, allocations: 7.688 kB / 0.5347 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.3031, allocations: 79.31 kB / 0.5348 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.3033, allocations: 125.2 kB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.3037, allocations: 135.6 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.3042, allocations: 0.5214 MB / 0.5356 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.3045, allocations: 243.2 kB / 0.5358 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.3047, allocations: 216.3 kB / 0.536 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.305, allocations: 231.2 kB / 0.5362 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.801e-05/0.3051, allocations: 48.88 kB / 0.5363 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.639e-05/0.3052, allocations: 48.47 kB / 0.5363 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.723e-05/0.3052, allocations: 109.8 kB / 0.5364 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.3055, allocations: 244.6 kB / 0.5367 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.306, allocations: 0.5609 MB / 0.5372 GB, free: 8.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.306, allocations: 1.656 kB / 0.5372 GB, free: 8.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.306, allocations: 0 / 0.5372 GB, free: 8.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.306, allocations: 0 / 0.5372 GB, free: 8.207 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.001254/0.3073, allocations: 0.7601 MB / 0.538 GB, free: 7.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3073, allocations: 12.94 kB / 0.538 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.864e-05/0.3074, allocations: 86.39 kB / 0.5381 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.432e-05/0.3075, allocations: 53.28 kB / 0.5381 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.3079, allocations: 321.1 kB / 0.5384 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.308, allocations: 37.12 kB / 0.5384 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.3081, allocations: 46.39 kB / 0.5385 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/0.3089, allocations: 468.8 kB / 0.5389 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3089, allocations: 0 / 0.5389 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.309, allocations: 20.66 kB / 0.539 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.309, allocations: 11.12 kB / 0.539 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.3097, allocations: 324.8 kB / 0.5393 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.3121, allocations: 1.67 MB / 0.5409 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.3127, allocations: 235.6 kB / 0.5411 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.313, allocations: 138.8 kB / 0.5413 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.313, allocations: 3.219 kB / 0.5413 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.3131, allocations: 31.97 kB / 0.5413 GB, free: 4.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 3.487e-06/0.3131, allocations: 1.438 kB / 0.5413 GB, free: 4.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.002953/0.316, allocations: 1.361 MB / 0.5426 GB, free: 3.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3161, allocations: 81.2 kB / 0.5427 GB, free: 3.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.3164, allocations: 261.4 kB / 0.543 GB, free: 3.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.3164, allocations: 31.83 kB / 0.543 GB, free: 3.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.3166, allocations: 264.5 kB / 0.5432 GB, free: 3.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.132e-05/0.3166, allocations: 116.9 kB / 0.5434 GB, free: 3.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3168, allocations: 82.25 kB / 0.5434 GB, free: 3.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3169, allocations: 341.5 kB / 0.5438 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.3172, allocations: 105.4 kB / 0.5439 GB, free: 2.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.3175, allocations: 216 kB / 0.5441 GB, free: 2.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005992/0.3181, allocations: 347.1 kB / 0.5444 GB, free: 2.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3181, allocations: 5.094 kB / 0.5444 GB, free: 2.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008571/0.319, allocations: 414.4 kB / 0.5448 GB, free: 2.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.319, allocations: 9.266 kB / 0.5448 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.319, allocations: 3.875 kB / 0.5448 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.3192, allocations: 32.22 kB / 0.5448 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.3197, allocations: 120.3 kB / 0.545 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.3208, allocations: 1.439 MB / 0.5464 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.3211, allocations: 16.2 kB / 0.5464 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.3212, allocations: 17.75 kB / 0.5464 GB, free: 0.668 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.0001867/0.3213, allocations: 169 kB / 0.5466 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.3214, allocations: 25.97 kB / 0.5466 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.845e-05/0.3215, allocations: 41.3 kB / 0.5466 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3215, allocations: 7.375 kB / 0.5466 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3215, allocations: 1.156 kB / 0.5466 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.3215, allocations: 5.047 kB / 0.5466 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3227, allocations: 0.7137 MB / 0.5473 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3227, allocations: 4.062 kB / 0.5473 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.3231, allocations: 95.81 kB / 0.5474 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.562e-05/0.3232, allocations: 36.91 kB / 0.5475 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.3232, allocations: 11.98 kB / 0.5475 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009286/0.3242, allocations: 1.419 MB / 0.5489 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3242, allocations: 4.031 kB / 0.5489 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.3252, allocations: 0.6099 MB / 0.5495 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.3253, allocations: 120.8 kB / 0.5496 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.3254, allocations: 8 kB / 0.5496 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.3256, allocations: 27.92 kB / 0.5496 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.3257, allocations: 19.97 kB / 0.5496 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.3257, allocations: 12 kB / 0.5496 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.3259, allocations: 186 kB / 0.5498 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3259, allocations: 0 / 0.5498 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004777/0.3264, allocations: 92 kB / 0.5499 GB, free: 12.96 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.00119/0.3276, allocations: 1.143 MB / 0.551 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007949/0.3284, allocations: 414.9 kB / 0.5514 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3284, allocations: 0 / 0.5514 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.3288, allocations: 250.5 kB / 0.5516 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.3294, allocations: 44.81 kB / 0.5517 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.3341, allocations: 3.474 MB / 0.5551 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.3345, allocations: 0.8074 MB / 0.5559 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.3347, allocations: 38.94 kB / 0.5559 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.3349, allocations: 139.4 kB / 0.556 GB, free: 6.395 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3349, allocations: 0 / 0.556 GB, free: 6.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.3626, allocations: 6.543 MB / 0.5624 GB, free: 4 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.43, allocations: 12.14 kB / 0.5624 GB, free: 15.99 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)