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.001804/0.001804, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01115/0.01115, allocations: 1.182 MB / 14.44 MB, free: 0.8594 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.368/1.368, allocations: 221.4 MB / 236.6 MB, free: 13.2 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.0009339/0.000934, allocations: 92.11 kB / 287.8 MB, free: 11.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.315e-05, allocations: 0 / 346.5 MB, free: 1.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3019, allocations: 50.67 MB / 397.2 MB, free: 33 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0979/0.3998, allocations: 80.17 MB / 477.3 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.4001, allocations: 59.97 kB / 477.4 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0364/0.4365, allocations: 12.74 MB / 490.1 MB, free: 3.812 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4365, allocations: 3.938 kB / 490.1 MB, free: 3.809 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.4366, allocations: 4 kB / 490.1 MB, free: 3.805 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.0004588/0.437, allocations: 438 kB / 490.6 MB, free: 3.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4371, allocations: 8.031 kB / 490.6 MB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.4371, allocations: 30.56 kB / 490.6 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.4372, allocations: 15.81 kB / 490.6 MB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.4375, allocations: 238.6 kB / 490.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.4375, allocations: 4 kB / 490.9 MB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.4375, allocations: 4 kB / 490.9 MB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.4377, allocations: 117.6 kB / 491 MB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4378, allocations: 4 kB / 491 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.4378, allocations: 3.953 kB / 491 MB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4378, allocations: 4 kB / 491 MB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.4381, allocations: 183.8 kB / 491.2 MB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.4384, allocations: 257.5 kB / 491.4 MB, free: 2.375 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.4386, allocations: 174.5 kB / 491.6 MB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.4387, allocations: 80.8 kB / 491.7 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.468e-05/0.4388, allocations: 35.95 kB / 491.7 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.4389, allocations: 38.78 kB / 491.7 MB, free: 2.031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.4389, allocations: 4 kB / 491.7 MB, free: 2.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009157/0.4398, allocations: 258.1 kB / 492 MB, free: 1.766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.4399, allocations: 55.48 kB / 492 MB, free: 1.699 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.4401, allocations: 198.9 kB / 492.2 MB, free: 1.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4401, allocations: 25.7 kB / 492.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.4401, allocations: 120.1 kB / 492.4 MB, free: 1.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.4402, allocations: 31.55 kB / 492.4 MB, free: 1.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.4402, allocations: 4 kB / 492.4 MB, free: 1.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4403, allocations: 326.8 kB / 492.7 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4404, allocations: 67.94 kB / 492.8 MB, free: 0.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.221e-05/0.4405, allocations: 67.95 kB / 492.9 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.4407, allocations: 75.92 kB / 492.9 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4407, allocations: 0 / 492.9 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007792/0.4414, allocations: 270 kB / 493.2 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4415, allocations: 4 kB / 493.2 MB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4415, allocations: 0 / 493.2 MB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006689/0.4422, allocations: 80.72 kB / 493.3 MB, free: 428 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.4423, allocations: 15.98 kB / 493.3 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.4442, allocations: 1.441 MB / 494.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.4443, allocations: 4 kB / 494.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.4443, allocations: 12.28 kB / 494.8 MB, free: 14.82 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 () * 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 7.294e-05/0.4444, allocations: 111.7 kB / 494.9 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.4445, allocations: 23.77 kB / 494.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009252/0.4454, allocations: 323.6 kB / 495.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4454, allocations: 4 kB / 495.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.4454, allocations: 0 / 495.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4454, allocations: 0 / 495.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.4457, allocations: 261.4 kB / 495.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4457, allocations: 4 kB / 495.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.4457, allocations: 15.98 kB / 495.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005858/0.4463, allocations: 72.77 kB / 495.6 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.4464, allocations: 7.938 kB / 495.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.4481, allocations: 1.425 MB / 497 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4481, allocations: 4.031 kB / 497 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007813/0.4489, allocations: 293.6 kB / 497.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.449, allocations: 92.92 kB / 497.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.449, allocations: 192 / 497.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.4491, allocations: 11.92 kB / 497.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.4491, allocations: 11.92 kB / 497.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.4491, allocations: 19.98 kB / 497.4 MB, free: 11.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.4493, allocations: 159.2 kB / 497.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.713e-06/0.4493, allocations: 0 / 497.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.4497, allocations: 91.86 kB / 497.7 MB, free: 11.67 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 () * 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.001173/0.4509, allocations: 0.8745 MB / 498.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005129/0.4514, allocations: 274.5 kB / 498.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.4514, allocations: 4 kB / 498.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.4518, allocations: 198.5 kB / 499 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.452, allocations: 19.98 kB / 499 MB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02604/0.478, allocations: 1.428 MB / 0.4887 GB, free: 8.801 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.4784, allocations: 0.7316 MB / 0.4894 GB, free: 8.043 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.015e-05/0.4785, allocations: 19.34 kB / 0.4895 GB, free: 8.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.4786, allocations: 39.42 kB / 0.4895 GB, free: 7.984 MB / 378.7 MB Notification: Performance of SimCode: time 1.213e-06/0.4786, allocations: 0 / 0.4895 GB, free: 7.984 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.4963, allocations: 5.521 MB / 0.4949 GB, free: 2.66 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.4966, allocations: 196.3 kB / 0.4951 GB, free: 2.434 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.373, allocations: 1.688 kB / 0.4951 GB, free: 2.434 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)