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.001352/0.001352, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 75.88 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.319, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004497/0.3235, allocations: 3.525 MB / 0.5339 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.325, allocations: 0.8306 MB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.3252, allocations: 8.25 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.3254, allocations: 71.48 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.3257, allocations: 132.6 kB / 0.5349 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.3261, allocations: 126.9 kB / 0.5351 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.3266, allocations: 0.5212 MB / 0.5356 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.3269, allocations: 242.2 kB / 0.5358 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.3272, allocations: 204.8 kB / 0.536 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.3275, allocations: 238.8 kB / 0.5362 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.886e-05/0.3276, allocations: 49.16 kB / 0.5363 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.978e-05/0.3277, allocations: 49.69 kB / 0.5363 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.3278, allocations: 108.3 kB / 0.5364 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.328, allocations: 249.5 kB / 0.5367 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005529/0.3286, allocations: 0.5616 MB / 0.5372 GB, free: 8.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3286, allocations: 0 / 0.5372 GB, free: 8.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3286, allocations: 0 / 0.5372 GB, free: 8.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3286, allocations: 0 / 0.5372 GB, free: 8.254 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.001317/0.3299, allocations: 0.7603 MB / 0.538 GB, free: 7.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.33, allocations: 9.688 kB / 0.538 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.695e-05/0.3301, allocations: 86.45 kB / 0.5381 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.667e-05/0.3302, allocations: 57.41 kB / 0.5381 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.3306, allocations: 317 kB / 0.5384 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.3307, allocations: 40.78 kB / 0.5384 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.3307, allocations: 42.53 kB / 0.5385 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/0.3316, allocations: 468.1 kB / 0.5389 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3316, allocations: 0.9688 kB / 0.5389 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.3317, allocations: 19.69 kB / 0.539 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.3317, allocations: 12.16 kB / 0.539 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/0.3324, allocations: 327.2 kB / 0.5393 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.335, allocations: 1.67 MB / 0.5409 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.3356, allocations: 235.5 kB / 0.5411 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.336, allocations: 143 kB / 0.5413 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.336, allocations: 6.828 kB / 0.5413 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.3361, allocations: 40.09 kB / 0.5413 GB, free: 5.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 2.054e-06/0.3361, allocations: 0 / 0.5413 GB, free: 5.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003186/0.3393, allocations: 1.332 MB / 0.5426 GB, free: 4.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.3393, allocations: 81.61 kB / 0.5427 GB, free: 3.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3396, allocations: 262.2 kB / 0.5429 GB, free: 3.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.3397, allocations: 30.64 kB / 0.543 GB, free: 3.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.3398, allocations: 269.1 kB / 0.5432 GB, free: 3.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/0.3399, allocations: 116.3 kB / 0.5433 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.3401, allocations: 75.14 kB / 0.5434 GB, free: 3.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3402, allocations: 348.5 kB / 0.5437 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.3405, allocations: 106.1 kB / 0.5438 GB, free: 2.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.3409, allocations: 219.4 kB / 0.5441 GB, free: 2.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/0.3416, allocations: 335 kB / 0.5444 GB, free: 2.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3416, allocations: 1.156 kB / 0.5444 GB, free: 2.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008958/0.3425, allocations: 422.4 kB / 0.5448 GB, free: 2.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3425, allocations: 8.844 kB / 0.5448 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3425, allocations: 3.531 kB / 0.5448 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.3427, allocations: 36.94 kB / 0.5448 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.3432, allocations: 124.3 kB / 0.5449 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.3442, allocations: 1.438 MB / 0.5463 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.3445, allocations: 15.98 kB / 0.5464 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.3446, allocations: 17.19 kB / 0.5464 GB, free: 0.7188 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.0002066/0.3448, allocations: 173.9 kB / 0.5465 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/0.3449, allocations: 30.27 kB / 0.5466 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.149e-05/0.3449, allocations: 36.94 kB / 0.5466 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3449, allocations: 7.547 kB / 0.5466 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.345, allocations: 5.531 kB / 0.5466 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.345, allocations: 0 / 0.5466 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3461, allocations: 0.7212 MB / 0.5473 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3462, allocations: 0 / 0.5473 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.3466, allocations: 91.88 kB / 0.5474 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.641e-05/0.3467, allocations: 32.78 kB / 0.5474 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.3467, allocations: 4.062 kB / 0.5474 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009224/0.3476, allocations: 1.427 MB / 0.5488 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3476, allocations: 8.094 kB / 0.5489 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009992/0.3487, allocations: 0.6055 MB / 0.5494 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.3488, allocations: 116.8 kB / 0.5496 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.3489, allocations: 8 kB / 0.5496 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.3491, allocations: 23.92 kB / 0.5496 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.3492, allocations: 23.97 kB / 0.5496 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.3492, allocations: 11.98 kB / 0.5496 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.3494, allocations: 190 kB / 0.5498 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3494, allocations: 0 / 0.5498 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.35, allocations: 92 kB / 0.5499 GB, free: 13 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.001301/0.3513, allocations: 1.143 MB / 0.551 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008873/0.3522, allocations: 421.7 kB / 0.5514 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3522, allocations: 0 / 0.5514 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.3526, allocations: 252.7 kB / 0.5516 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.3531, allocations: 48.53 kB / 0.5517 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.3578, allocations: 3.461 MB / 0.5551 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3581, allocations: 0.8152 MB / 0.5559 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.3583, allocations: 38.89 kB / 0.5559 GB, free: 6.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.3585, allocations: 139.4 kB / 0.556 GB, free: 6.43 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3585, allocations: 0 / 0.556 GB, free: 6.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.3862, allocations: 6.63 MB / 0.5625 GB, free: 15.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.9/10.29, allocations: 11.3 kB / 0.5625 GB, free: 15.94 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)