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.0009557/0.0009557, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01142/0.01142, allocations: 1.19 MB / 9.255 MB, free: 1.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.5 MB / 231.5 MB, free: 6.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008732/0.000873, allocations: 88.05 kB / 282.6 MB, free: 3.824 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.263e-05, allocations: 0 / 339.6 MB, free: 7.965 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1201, allocations: 50.68 MB / 390.3 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3702/0.4904, allocations: 79.5 MB / 469.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.4907, allocations: 67.95 kB / 469.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03633/0.527, allocations: 12.63 MB / 482.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.5271, allocations: 0 / 482.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.5271, allocations: 7.938 kB / 482.5 MB, free: 15.77 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.0005181/0.5276, allocations: 434 kB / 482.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5277, allocations: 11.98 kB / 482.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.5278, allocations: 15.81 kB / 482.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.5281, allocations: 238.9 kB / 483.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.5281, allocations: 0 / 483.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.5282, allocations: 4 kB / 483.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002681/0.5284, allocations: 175.8 kB / 483.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.5286, allocations: 113.6 kB / 483.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5286, allocations: 3.953 kB / 483.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.5287, allocations: 0 / 483.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.5287, allocations: 0 / 483.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.529, allocations: 238 kB / 483.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.5292, allocations: 170.5 kB / 483.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.5293, allocations: 84.73 kB / 483.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.091e-05/0.5294, allocations: 35.97 kB / 484 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.5295, allocations: 34.56 kB / 484 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.5295, allocations: 0 / 484 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001497/0.531, allocations: 370.1 kB / 484.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.531, allocations: 55.41 kB / 484.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.5312, allocations: 186 kB / 484.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.5313, allocations: 25.7 kB / 484.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.5313, allocations: 116.1 kB / 484.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.5314, allocations: 31.55 kB / 484.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.5314, allocations: 3.938 kB / 484.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5315, allocations: 326.8 kB / 485.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.863e-05/0.5316, allocations: 67.94 kB / 485.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.5317, allocations: 79.88 kB / 485.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/0.5324, allocations: 179.8 kB / 485.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5324, allocations: 0 / 485.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001281/0.5337, allocations: 374 kB / 485.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.5337, allocations: 11.98 kB / 485.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5337, allocations: 3.984 kB / 485.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007078/0.5344, allocations: 73.11 kB / 485.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.5345, allocations: 19.98 kB / 485.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.5361, allocations: 1.33 MB / 487.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.458e-05/0.5362, allocations: 3.906 kB / 487.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.5363, allocations: 23.95 kB / 487.2 MB, free: 10.68 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: B:VARIABLE(unit = "T" ) "Magnetic flux density of material" type: Real 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 () * 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.0001068/0.5364, allocations: 101 kB / 487.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001296/0.5377, allocations: 374 kB / 487.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.5377, allocations: 19.8 kB / 487.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.5392, allocations: 431.9 kB / 488.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5392, allocations: 0 / 488.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.5392, allocations: 0 / 488.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5392, allocations: 4 kB / 488.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.5395, allocations: 237.9 kB / 488.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.5395, allocations: 0 / 488.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.5395, allocations: 12 kB / 488.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006014/0.5401, allocations: 80.75 kB / 488.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.5402, allocations: 4 kB / 488.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.5419, allocations: 1.373 MB / 489.9 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5419, allocations: 4.031 kB / 489.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.5433, allocations: 405.4 kB / 490.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.5434, allocations: 88.92 kB / 490.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.5434, allocations: 4 kB / 490.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.5435, allocations: 3.984 kB / 490.4 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.5435, allocations: 11.98 kB / 490.4 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.5436, allocations: 19.98 kB / 490.4 MB, free: 7.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.5437, allocations: 152.2 kB / 490.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.014e-06/0.5437, allocations: 0 / 490.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000411/0.5442, allocations: 83.86 kB / 490.6 MB, free: 7.09 MB / 362.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 () * 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.001876/0.546, allocations: 0.9837 MB / 491.6 MB, free: 6.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000433/0.5465, allocations: 241.7 kB / 491.8 MB, free: 5.828 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5465, allocations: 0 / 491.8 MB, free: 5.828 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.5469, allocations: 193.7 kB / 492 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.5471, allocations: 22.14 kB / 492 MB, free: 5.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02693/0.5741, allocations: 1.426 MB / 493.5 MB, free: 4.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.5745, allocations: 0.7158 MB / 494.2 MB, free: 3.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.192e-05/0.5746, allocations: 29.12 kB / 494.2 MB, free: 3.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.5747, allocations: 39.42 kB / 494.3 MB, free: 3.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.213e-06/0.5747, allocations: 4 kB / 494.3 MB, free: 3.336 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.6015, allocations: 4.528 MB / 498.8 MB, free: 14.83 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/0.6018, allocations: 156.3 kB / 498.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.403, allocations: 6.312 kB / 498.9 MB, free: 14.63 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)