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.001403/0.001403, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, 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.2395/0.2395, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.002357/0.002358, allocations: 80.19 kB / 480.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3122, allocations: 62.46 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005575/0.3178, allocations: 3.516 MB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3197, allocations: 0.828 MB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003297/0.3201, allocations: 12.84 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.3204, allocations: 71 kB / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.3208, allocations: 128.1 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.3212, allocations: 131.9 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.3218, allocations: 0.5318 MB / 0.5357 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.3222, allocations: 237 kB / 0.5359 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.3224, allocations: 212.1 kB / 0.5361 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.3227, allocations: 233.8 kB / 0.5363 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.771e-05/0.3228, allocations: 49.38 kB / 0.5364 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.508e-05/0.3229, allocations: 49.91 kB / 0.5364 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.323, allocations: 112.6 kB / 0.5365 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.3233, allocations: 244.8 kB / 0.5368 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006416/0.3239, allocations: 0.5605 MB / 0.5373 GB, free: 8.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3239, allocations: 5.188 kB / 0.5373 GB, free: 8.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3239, allocations: 0 / 0.5373 GB, free: 8.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3239, allocations: 0 / 0.5373 GB, free: 8.203 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.001384/0.3253, allocations: 0.767 MB / 0.5381 GB, free: 7.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3254, allocations: 10.62 kB / 0.5381 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.3255, allocations: 89.3 kB / 0.5382 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3256, allocations: 53.98 kB / 0.5382 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.3262, allocations: 322.1 kB / 0.5385 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.3263, allocations: 35.52 kB / 0.5386 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.3264, allocations: 50.67 kB / 0.5386 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009174/0.3273, allocations: 472 kB / 0.5391 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3273, allocations: 1.125 kB / 0.5391 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.3274, allocations: 16.59 kB / 0.5391 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3274, allocations: 11.38 kB / 0.5391 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007532/0.3281, allocations: 327.5 kB / 0.5394 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.3308, allocations: 1.663 MB / 0.541 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.3314, allocations: 243.6 kB / 0.5413 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.3318, allocations: 130.4 kB / 0.5414 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.3318, allocations: 3.219 kB / 0.5414 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.3319, allocations: 41.59 kB / 0.5414 GB, free: 4.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.993e-06/0.3319, allocations: 3.938 kB / 0.5414 GB, free: 4.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003258/0.3351, allocations: 1.352 MB / 0.5427 GB, free: 3.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.3352, allocations: 84.58 kB / 0.5428 GB, free: 3.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.3355, allocations: 261.5 kB / 0.5431 GB, free: 3.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.3356, allocations: 36.67 kB / 0.5431 GB, free: 3.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.3358, allocations: 268.1 kB / 0.5434 GB, free: 3.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.3359, allocations: 129.5 kB / 0.5435 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.336, allocations: 79.23 kB / 0.5436 GB, free: 3.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3362, allocations: 341.3 kB / 0.5439 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.3366, allocations: 109 kB / 0.544 GB, free: 2.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.3369, allocations: 208.2 kB / 0.5442 GB, free: 2.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000706/0.3377, allocations: 345.1 kB / 0.5445 GB, free: 2.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3377, allocations: 1.156 kB / 0.5445 GB, free: 2.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009135/0.3386, allocations: 419.2 kB / 0.5449 GB, free: 2.172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.3386, allocations: 12.92 kB / 0.5449 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.3386, allocations: 6.828 kB / 0.5449 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.3388, allocations: 37.41 kB / 0.545 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.3393, allocations: 120 kB / 0.5451 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.3406, allocations: 1.436 MB / 0.5465 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.3409, allocations: 20.02 kB / 0.5465 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.341, allocations: 17.12 kB / 0.5465 GB, free: 0.625 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.0003098/0.3413, allocations: 173.1 kB / 0.5467 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.204e-05/0.3414, allocations: 31.66 kB / 0.5467 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.152e-05/0.3415, allocations: 39.39 kB / 0.5468 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3415, allocations: 4 kB / 0.5468 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3415, allocations: 1.125 kB / 0.5468 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3415, allocations: 5.391 kB / 0.5468 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.3428, allocations: 0.7047 MB / 0.5475 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3428, allocations: 0 / 0.5475 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.3432, allocations: 91.88 kB / 0.5475 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-05/0.3433, allocations: 36.91 kB / 0.5476 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.3434, allocations: 7.984 kB / 0.5476 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.3446, allocations: 1.423 MB / 0.549 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3446, allocations: 0 / 0.549 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.3458, allocations: 0.6135 MB / 0.5496 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.346, allocations: 128.9 kB / 0.5497 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.3461, allocations: 8 kB / 0.5497 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.3464, allocations: 23.92 kB / 0.5497 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.3465, allocations: 27.91 kB / 0.5498 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.3465, allocations: 8 kB / 0.5498 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.3467, allocations: 186 kB / 0.5499 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3468, allocations: 4 kB / 0.55 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005283/0.3473, allocations: 92 kB / 0.55 GB, free: 12.89 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.001468/0.3488, allocations: 1.147 MB / 0.5512 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009359/0.3497, allocations: 398.5 kB / 0.5515 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3497, allocations: 3.938 kB / 0.5515 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.3502, allocations: 262.4 kB / 0.5518 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.3507, allocations: 47.95 kB / 0.5518 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005556/0.3563, allocations: 3.491 MB / 0.5552 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.3569, allocations: 0.8113 MB / 0.556 GB, free: 6.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.3571, allocations: 38.94 kB / 0.5561 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.3573, allocations: 143.4 kB / 0.5562 GB, free: 6.293 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3573, allocations: 0 / 0.5562 GB, free: 6.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/0.3938, allocations: 6.535 MB / 0.5626 GB, free: 15.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.62, allocations: 15.8 kB / 0.5626 GB, free: 15.91 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1)