Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.conf.json 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/FluxTubesExtension 1.2.0-main/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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) Running command: "" <> buildModelFMU(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007873/0.007873, allocations: 169.6 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006515/0.006515, allocations: 1.227 MB / 17.08 MB, free: 4.883 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 241.3 MB, free: 10.51 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008896/0.0008895, allocations: 99.23 kB / 292.7 MB, free: 9.734 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 8 kB / 354 MB, free: 12.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2716, allocations: 50.69 MB / 404.6 MB, free: 30.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.3753, allocations: 80.24 MB / 484.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.3755, allocations: 65.16 kB / 484.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03561/0.4112, allocations: 12.74 MB / 497.7 MB, free: 1.699 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4112, allocations: 0 / 497.7 MB, free: 1.699 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.4112, allocations: 8 kB / 497.7 MB, free: 1.691 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000623/0.4119, allocations: 478.6 kB / 498.2 MB, free: 1.176 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4119, allocations: 16.03 kB / 498.2 MB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.412, allocations: 34.56 kB / 498.2 MB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.412, allocations: 15.81 kB / 498.2 MB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.4123, allocations: 234.7 kB / 498.5 MB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.4123, allocations: 4 kB / 498.5 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.4124, allocations: 4 kB / 498.5 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.4126, allocations: 113.6 kB / 498.6 MB, free: 0.707 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4126, allocations: 4 kB / 498.6 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.4126, allocations: 3.953 kB / 498.6 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4126, allocations: 4 kB / 498.6 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.4129, allocations: 183.8 kB / 498.8 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.4132, allocations: 257.5 kB / 499 MB, free: 220 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.4134, allocations: 174.4 kB / 499.2 MB, free: 36 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.4136, allocations: 39.94 kB / 499.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.4136, allocations: 34.56 kB / 499.3 MB, free: 15.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.4136, allocations: 0 / 499.3 MB, free: 15.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001981/0.4156, allocations: 487.5 kB / 499.7 MB, free: 15.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.4156, allocations: 55.41 kB / 499.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.4158, allocations: 198.1 kB / 500 MB, free: 15.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.4158, allocations: 25.8 kB / 0.4883 GB, free: 15.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.4159, allocations: 116.1 kB / 0.4884 GB, free: 15.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.416, allocations: 27.56 kB / 0.4884 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.416, allocations: 4 kB / 0.4884 GB, free: 15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4161, allocations: 330.8 kB / 0.4887 GB, free: 14.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.4162, allocations: 67.94 kB / 0.4888 GB, free: 14.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.497e-05/0.4163, allocations: 71.94 kB / 0.4889 GB, free: 14.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.4164, allocations: 71.94 kB / 0.4889 GB, free: 14.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4164, allocations: 0 / 0.4889 GB, free: 14.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00086/0.4173, allocations: 266.1 kB / 0.4892 GB, free: 14.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4173, allocations: 11.95 kB / 0.4892 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4173, allocations: 0 / 0.4892 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008006/0.4181, allocations: 80.7 kB / 0.4893 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.4182, allocations: 12 kB / 0.4893 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.4204, allocations: 1.452 MB / 0.4907 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.4205, allocations: 0 / 0.4907 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.4205, allocations: 19.92 kB / 0.4907 GB, free: 12.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.4207, allocations: 125.8 kB / 0.4909 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.4207, allocations: 19.77 kB / 0.4909 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.4218, allocations: 328 kB / 0.4912 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4218, allocations: 3.984 kB / 0.4912 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.4218, allocations: 4 kB / 0.4912 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4218, allocations: 0 / 0.4912 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.4221, allocations: 257.5 kB / 0.4914 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4221, allocations: 3.953 kB / 0.4914 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.4222, allocations: 16 kB / 0.4915 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006926/0.4229, allocations: 76.7 kB / 0.4915 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.4229, allocations: 11.98 kB / 0.4915 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.4247, allocations: 1.444 MB / 0.493 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4247, allocations: 0 / 0.493 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.4256, allocations: 301.6 kB / 0.4932 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.4257, allocations: 92.91 kB / 0.4933 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.4257, allocations: 4 kB / 0.4933 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.4258, allocations: 0 / 0.4933 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.4258, allocations: 15.97 kB / 0.4934 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.4259, allocations: 12 kB / 0.4934 GB, free: 9.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.426, allocations: 164.3 kB / 0.4935 GB, free: 9.383 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.426, allocations: 0 / 0.4935 GB, free: 9.383 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004435/0.4265, allocations: 95.8 kB / 0.4936 GB, free: 9.289 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/0.4278, allocations: 0.8862 MB / 0.4945 GB, free: 8.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005819/0.4284, allocations: 274.5 kB / 0.4947 GB, free: 8.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4284, allocations: 0 / 0.4947 GB, free: 8.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.4288, allocations: 202.6 kB / 0.4949 GB, free: 7.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.429, allocations: 15.94 kB / 0.4949 GB, free: 7.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03403/0.463, allocations: 2.348 MB / 0.4972 GB, free: 5.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.4634, allocations: 0.7278 MB / 0.498 GB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.487e-05/0.4635, allocations: 13.08 kB / 0.498 GB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.4635, allocations: 39.42 kB / 0.498 GB, free: 4.641 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4635, allocations: 0 / 0.498 GB, free: 4.641 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2689/0.7325, allocations: 5.256 MB / 0.5031 GB, free: 99.52 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/0.7328, allocations: 221.7 kB / 0.5033 GB, free: 99.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.637, allocations: 0 / 0.5033 GB, free: 99.28 MB / 378.7 MB (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic.fmu > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1)