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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 187.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.214/0.214, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2992, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003851/0.3031, allocations: 3.503 MB / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3044, allocations: 0.7829 MB / 0.5226 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.3046, allocations: 12.03 kB / 0.5226 GB, free: 248 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.3048, allocations: 72.14 kB / 0.5227 GB, free: 204 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.3051, allocations: 131.9 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.3054, allocations: 127.4 kB / 0.5229 GB, free: 32 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005625/0.306, allocations: 0.5179 MB / 0.5234 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000377/0.3064, allocations: 250.8 kB / 0.5237 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.3067, allocations: 218.4 kB / 0.5239 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.307, allocations: 239.2 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.05e-05/0.3071, allocations: 48.84 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.8e-05/0.3072, allocations: 49.22 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.3073, allocations: 109.2 kB / 0.5243 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.3075, allocations: 247.6 kB / 0.5245 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005963/0.3081, allocations: 0.5536 MB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3082, allocations: 0 / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3082, allocations: 3.938 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3082, allocations: 1.562 kB / 0.5251 GB, free: 14.96 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.001322/0.3095, allocations: 0.7589 MB / 0.5258 GB, free: 14.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3095, allocations: 11.09 kB / 0.5258 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.3097, allocations: 84.23 kB / 0.5259 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.262e-05/0.3097, allocations: 54.41 kB / 0.526 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.3102, allocations: 322.8 kB / 0.5263 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.3103, allocations: 39.19 kB / 0.5263 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.3103, allocations: 46.62 kB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008539/0.3112, allocations: 461.7 kB / 0.5268 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.3112, allocations: 4 kB / 0.5268 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.3113, allocations: 22.02 kB / 0.5268 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3113, allocations: 15 kB / 0.5268 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/0.312, allocations: 321.5 kB / 0.5271 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.3145, allocations: 1.675 MB / 0.5288 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.3151, allocations: 231.3 kB / 0.529 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.3154, allocations: 146.8 kB / 0.5291 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.3155, allocations: 3.938 kB / 0.5291 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3155, allocations: 36.19 kB / 0.5292 GB, free: 11.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.873e-06/0.3155, allocations: 0 / 0.5292 GB, free: 11.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003099/0.3186, allocations: 1.343 MB / 0.5305 GB, free: 10.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3187, allocations: 85.05 kB / 0.5306 GB, free: 10.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.319, allocations: 258.5 kB / 0.5308 GB, free: 10.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.319, allocations: 31.08 kB / 0.5308 GB, free: 10.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3192, allocations: 261 kB / 0.5311 GB, free: 10.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/0.3193, allocations: 119.4 kB / 0.5312 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.3194, allocations: 79.84 kB / 0.5313 GB, free: 10.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3195, allocations: 344.8 kB / 0.5316 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.3198, allocations: 109.9 kB / 0.5317 GB, free: 9.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.3202, allocations: 215.9 kB / 0.5319 GB, free: 9.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.3208, allocations: 331.4 kB / 0.5322 GB, free: 9.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3208, allocations: 6.062 kB / 0.5322 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008651/0.3217, allocations: 419 kB / 0.5326 GB, free: 9.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3217, allocations: 9.406 kB / 0.5327 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3218, allocations: 4.406 kB / 0.5327 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.3219, allocations: 35.89 kB / 0.5327 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.3224, allocations: 116.5 kB / 0.5328 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.3235, allocations: 1.441 MB / 0.5342 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.3238, allocations: 20.27 kB / 0.5342 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.3239, allocations: 20.72 kB / 0.5342 GB, free: 7.648 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.0002112/0.3241, allocations: 165.7 kB / 0.5344 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.3242, allocations: 30.69 kB / 0.5344 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.3243, allocations: 40.45 kB / 0.5345 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3243, allocations: 4.75 kB / 0.5345 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3243, allocations: 0 / 0.5345 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3243, allocations: 1.281 kB / 0.5345 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.3254, allocations: 0.7218 MB / 0.5352 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3254, allocations: 1.125 kB / 0.5352 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/0.3259, allocations: 89.28 kB / 0.5353 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.596e-05/0.326, allocations: 38.42 kB / 0.5353 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.326, allocations: 14.14 kB / 0.5353 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.327, allocations: 1.416 MB / 0.5367 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3271, allocations: 1.219 kB / 0.5367 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.3281, allocations: 0.6013 MB / 0.5373 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.3282, allocations: 124.8 kB / 0.5374 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.3283, allocations: 10.23 kB / 0.5374 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.3286, allocations: 22.64 kB / 0.5374 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.3287, allocations: 26.59 kB / 0.5375 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3287, allocations: 11.72 kB / 0.5375 GB, free: 4.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.3289, allocations: 180.2 kB / 0.5377 GB, free: 4.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3289, allocations: 0 / 0.5377 GB, free: 4.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004965/0.3294, allocations: 92.66 kB / 0.5377 GB, free: 4.598 MB / 398.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.001355/0.3307, allocations: 1.149 MB / 0.5389 GB, free: 3.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008971/0.3317, allocations: 407.8 kB / 0.5393 GB, free: 3.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3317, allocations: 1.125 kB / 0.5393 GB, free: 3.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.3321, allocations: 253.8 kB / 0.5395 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.3327, allocations: 50.72 kB / 0.5395 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/0.338, allocations: 3.477 MB / 0.5429 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.3385, allocations: 0.8102 MB / 0.5437 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.3387, allocations: 32.34 kB / 0.5438 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.3389, allocations: 142.2 kB / 0.5439 GB, free: 15.65 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3389, allocations: 0 / 0.5439 GB, free: 15.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.3694, allocations: 6.603 MB / 0.5503 GB, free: 10.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.873/10.24, allocations: 20.89 kB / 0.5504 GB, free: 10.33 MB / 414.1 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/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)