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.001608/0.001608, allocations: 114.4 kB / 17.78 MB, free: 5.246 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.001624/0.001624, allocations: 183 kB / 18.71 MB, free: 4.32 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2213/0.2213, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3127, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004107/0.3169, allocations: 3.499 MB / 0.5218 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3182, allocations: 0.7862 MB / 0.5226 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.3185, allocations: 8.094 kB / 0.5226 GB, free: 256 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.3187, allocations: 76.42 kB / 0.5227 GB, free: 208 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.319, allocations: 131.6 kB / 0.5228 GB, free: 108 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.3193, allocations: 127 kB / 0.5229 GB, free: 36 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005309/0.3199, allocations: 0.5233 MB / 0.5234 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.3203, allocations: 247.6 kB / 0.5237 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.3206, allocations: 221.3 kB / 0.5239 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.3209, allocations: 235.2 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.775e-05/0.3209, allocations: 49.69 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.321, allocations: 47.75 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3211, allocations: 105.3 kB / 0.5243 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.3214, allocations: 255.7 kB / 0.5245 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006504/0.322, allocations: 0.5533 MB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.322, allocations: 1.344 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.322, allocations: 0 / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.3221, allocations: 0 / 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.001333/0.3234, allocations: 0.7608 MB / 0.5258 GB, free: 14.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3234, allocations: 8.688 kB / 0.5258 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.3235, allocations: 85.66 kB / 0.5259 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.414e-05/0.3236, allocations: 54.75 kB / 0.526 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.3241, allocations: 324.8 kB / 0.5263 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.3242, allocations: 37.36 kB / 0.5263 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.3243, allocations: 42.44 kB / 0.5264 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008445/0.3251, allocations: 469.5 kB / 0.5268 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3251, allocations: 5.312 kB / 0.5268 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.3252, allocations: 20.12 kB / 0.5268 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3252, allocations: 11 kB / 0.5268 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000717/0.3259, allocations: 321.8 kB / 0.5271 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.3283, allocations: 1.672 MB / 0.5288 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.3289, allocations: 243.2 kB / 0.529 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.3293, allocations: 135.1 kB / 0.5291 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3293, allocations: 6.719 kB / 0.5291 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3293, allocations: 33.16 kB / 0.5292 GB, free: 11.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.903e-06/0.3293, allocations: 0 / 0.5292 GB, free: 11.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.002966/0.3323, allocations: 1.354 MB / 0.5305 GB, free: 10.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3324, allocations: 85.64 kB / 0.5306 GB, free: 10.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.3327, allocations: 253.8 kB / 0.5308 GB, free: 10.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.3327, allocations: 34.92 kB / 0.5309 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3329, allocations: 260.9 kB / 0.5311 GB, free: 10.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.333, allocations: 116.1 kB / 0.5312 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.3331, allocations: 83.59 kB / 0.5313 GB, free: 10.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3332, allocations: 348.3 kB / 0.5316 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.3335, allocations: 111.1 kB / 0.5317 GB, free: 9.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.3339, allocations: 206.4 kB / 0.5319 GB, free: 9.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.3345, allocations: 334.8 kB / 0.5322 GB, free: 9.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3345, allocations: 1.094 kB / 0.5323 GB, free: 9.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008808/0.3354, allocations: 425.3 kB / 0.5327 GB, free: 9.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3354, allocations: 6.188 kB / 0.5327 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.3354, allocations: 7.781 kB / 0.5327 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.3356, allocations: 33.78 kB / 0.5327 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.3361, allocations: 122.8 kB / 0.5328 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.3372, allocations: 1.43 MB / 0.5342 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.3376, allocations: 16 kB / 0.5342 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.3376, allocations: 21.64 kB / 0.5343 GB, free: 7.637 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.000215/0.3378, allocations: 176.1 kB / 0.5344 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.3379, allocations: 26.38 kB / 0.5344 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.79e-05/0.338, allocations: 40.67 kB / 0.5345 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.338, allocations: 4.281 kB / 0.5345 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.338, allocations: 1.5 kB / 0.5345 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.338, allocations: 3.938 kB / 0.5345 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.3391, allocations: 0.7147 MB / 0.5352 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3392, allocations: 0 / 0.5352 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.3396, allocations: 94.12 kB / 0.5353 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.983e-05/0.3397, allocations: 34.22 kB / 0.5353 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.3397, allocations: 10.41 kB / 0.5353 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009175/0.3406, allocations: 1.427 MB / 0.5367 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3406, allocations: 1.156 kB / 0.5367 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.3417, allocations: 0.6024 MB / 0.5373 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.3418, allocations: 123.8 kB / 0.5374 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.3418, allocations: 6.438 kB / 0.5374 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.3421, allocations: 22.61 kB / 0.5375 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.3422, allocations: 30.58 kB / 0.5375 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.3422, allocations: 16.06 kB / 0.5375 GB, free: 4.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001886/0.3424, allocations: 179.3 kB / 0.5377 GB, free: 4.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3424, allocations: 0 / 0.5377 GB, free: 4.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005345/0.343, allocations: 92.44 kB / 0.5378 GB, free: 4.574 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.0013/0.3443, allocations: 1.148 MB / 0.5389 GB, free: 3.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008832/0.3452, allocations: 408.9 kB / 0.5393 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3452, allocations: 1.062 kB / 0.5393 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.3456, allocations: 248.8 kB / 0.5395 GB, free: 3.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.3461, allocations: 44.83 kB / 0.5395 GB, free: 3.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/0.3511, allocations: 3.475 MB / 0.5429 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.3515, allocations: 0.8106 MB / 0.5437 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.3517, allocations: 37.19 kB / 0.5438 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.3519, allocations: 141.4 kB / 0.5439 GB, free: 15.62 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3519, allocations: 0 / 0.5439 GB, free: 15.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.3794, allocations: 6.515 MB / 0.5503 GB, free: 10.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.882/10.26, allocations: 18.2 kB / 0.5503 GB, free: 10.4 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)