Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.SaturatedInductor,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.SaturatedInductor,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor",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.006068/0.006068, allocations: 172.4 kB / 15.12 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006421/0.006421, allocations: 1.222 MB / 17.07 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.432/1.432, allocations: 223.2 MB / 241.3 MB, free: 10.49 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.0009375/0.0009375, allocations: 96.61 kB / 292.7 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003412, allocations: 8 kB / 354 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2728, allocations: 50.68 MB / 404.6 MB, free: 30.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.3925, allocations: 84.41 MB / 489.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.3928, allocations: 75.97 kB / 489.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03285/0.4257, allocations: 11.29 MB / 0.4887 GB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4257, allocations: 0 / 0.4887 GB, free: 15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.801e-05/0.4258, allocations: 8 kB / 0.4887 GB, free: 15 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001487/0.4273, allocations: 0.6115 MB / 0.4893 GB, free: 14.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.227e-05/0.4274, allocations: 8.031 kB / 0.4893 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.4275, allocations: 66.52 kB / 0.4894 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.4277, allocations: 35.62 kB / 0.4894 GB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.4282, allocations: 285.4 kB / 0.4897 GB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.4283, allocations: 20.56 kB / 0.4897 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/0.4283, allocations: 31.95 kB / 0.4897 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.429, allocations: 272.8 kB / 0.49 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.429, allocations: 0 / 0.49 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.4291, allocations: 12 kB / 0.49 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.4291, allocations: 4 kB / 0.49 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005916/0.4297, allocations: 274.1 kB / 0.4903 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.432, allocations: 1.099 MB / 0.4913 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.4325, allocations: 263.2 kB / 0.4916 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/0.4326, allocations: 19.98 kB / 0.4916 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.4326, allocations: 38.56 kB / 0.4916 GB, free: 11.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.023e-06/0.4326, allocations: 0 / 0.4916 GB, free: 11.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.00482/0.4375, allocations: 1.632 MB / 0.4932 GB, free: 10.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.4375, allocations: 55.41 kB / 0.4933 GB, free: 10.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.4379, allocations: 250.2 kB / 0.4935 GB, free: 9.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.4379, allocations: 29.7 kB / 0.4935 GB, free: 9.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.4381, allocations: 192.2 kB / 0.4937 GB, free: 9.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.4382, allocations: 122.3 kB / 0.4938 GB, free: 9.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.4382, allocations: 4 kB / 0.4939 GB, free: 9.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4384, allocations: 342.8 kB / 0.4942 GB, free: 9.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.4387, allocations: 131.9 kB / 0.4943 GB, free: 8.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.439, allocations: 172.5 kB / 0.4945 GB, free: 8.742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.4393, allocations: 145.5 kB / 0.4946 GB, free: 8.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4393, allocations: 4 kB / 0.4946 GB, free: 8.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001858/0.4412, allocations: 0.6596 MB / 0.4953 GB, free: 7.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.4412, allocations: 8 kB / 0.4953 GB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.4412, allocations: 4 kB / 0.4953 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002955/0.4442, allocations: 0.5441 MB / 0.4958 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.4445, allocations: 59.91 kB / 0.4959 GB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.4458, allocations: 1.296 MB / 0.4971 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.446, allocations: 8 kB / 0.4971 GB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/0.4461, allocations: 20.12 kB / 0.4971 GB, free: 5.934 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002656/0.4464, allocations: 149.8 kB / 0.4973 GB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-05/0.4465, allocations: 31.62 kB / 0.4973 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.4483, allocations: 0.619 MB / 0.4979 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.4483, allocations: 4 kB / 0.4979 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.4483, allocations: 3.984 kB / 0.4979 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4483, allocations: 3.984 kB / 0.4979 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/0.449, allocations: 405.3 kB / 0.4983 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.449, allocations: 0 / 0.4983 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.4493, allocations: 47.91 kB / 0.4984 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/0.4521, allocations: 0.5363 MB / 0.4989 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.4522, allocations: 8 kB / 0.4989 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.4533, allocations: 1.304 MB / 0.5002 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4533, allocations: 0 / 0.5002 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.4553, allocations: 0.8526 MB / 0.501 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.4554, allocations: 100.8 kB / 0.5011 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.4555, allocations: 11.95 kB / 0.5011 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.4557, allocations: 15.98 kB / 0.5011 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.603e-05/0.4558, allocations: 27.97 kB / 0.5012 GB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.4558, allocations: 8 kB / 0.5012 GB, free: 1.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002658/0.4561, allocations: 201.9 kB / 0.5014 GB, free: 1.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4561, allocations: 0 / 0.5014 GB, free: 1.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005297/0.4567, allocations: 103.9 kB / 0.5015 GB, free: 1.352 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.2328/0.6895, allocations: 1.403 MB / 0.5028 GB, free: 99.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.6912, allocations: 330.5 kB / 0.5031 GB, free: 99.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.6912, allocations: 2.188 kB / 0.5031 GB, free: 99.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007001/0.6919, allocations: 185.7 kB / 0.5033 GB, free: 99.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.6925, allocations: 26.67 kB / 0.5033 GB, free: 99.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.6983, allocations: 2.967 MB / 0.5062 GB, free: 98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.6988, allocations: 0.7987 MB / 0.507 GB, free: 97.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.699, allocations: 22.75 kB / 0.507 GB, free: 97.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.6992, allocations: 108.1 kB / 0.5071 GB, free: 97.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.995e-06/0.6992, allocations: 1.875 kB / 0.5071 GB, free: 97.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.72, allocations: 6.946 MB / 0.5139 GB, free: 96.91 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.7202, allocations: 203.6 kB / 0.5141 GB, free: 96.67 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.201, allocations: 4 kB / 0.5141 GB, free: 96.67 MB / 378.7 MB (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor.fmu > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1)