Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7345/0.7345, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001668/0.001668, allocations: 155.4 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.232e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04242/0.04246, allocations: 25.18 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04703/0.08953, allocations: 37.35 MB / 242.7 MB, free: 3.023 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.08976, allocations: 63.97 kB / 242.8 MB, free: 2.961 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1124/0.2022, allocations: 6.55 MB / 249.4 MB, free: 42.03 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2022, allocations: 0 / 249.4 MB, free: 42.03 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.2022, allocations: 4.781 kB / 249.4 MB, free: 42.03 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0006346/0.2029, allocations: 0.5281 MB / 249.9 MB, free: 41.58 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2029, allocations: 9.656 kB / 249.9 MB, free: 41.58 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.203, allocations: 31.47 kB / 249.9 MB, free: 41.57 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.2033, allocations: 258.6 kB / 250.2 MB, free: 41.32 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.2033, allocations: 19.25 kB / 250.2 MB, free: 41.31 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.2033, allocations: 25.03 kB / 250.2 MB, free: 41.3 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.2037, allocations: 233.9 kB / 250.5 MB, free: 41.19 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2037, allocations: 0 / 250.5 MB, free: 41.19 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.2037, allocations: 14.7 kB / 250.5 MB, free: 41.18 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.2038, allocations: 5.5 kB / 250.5 MB, free: 41.18 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.2041, allocations: 180.6 kB / 250.6 MB, free: 41.11 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.2053, allocations: 0.9436 MB / 251.6 MB, free: 40.48 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.2056, allocations: 172.6 kB / 251.8 MB, free: 40.4 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.2058, allocations: 105.7 kB / 251.9 MB, free: 40.35 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.589e-05/0.2059, allocations: 82.61 kB / 251.9 MB, free: 40.26 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2059, allocations: 36.72 kB / 252 MB, free: 40.21 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.2059, allocations: 0 / 252 MB, free: 40.21 MB / 186.7 MB Notification: Performance of matching and sorting (n=31): time 0.005149/0.2111, allocations: 1.272 MB / 253.3 MB, free: 39.62 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.2111, allocations: 66.59 kB / 253.3 MB, free: 39.54 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.2113, allocations: 205.4 kB / 253.5 MB, free: 39.41 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2114, allocations: 31.14 kB / 253.5 MB, free: 39.38 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.2114, allocations: 170.5 kB / 253.7 MB, free: 39.23 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.2115, allocations: 114.1 kB / 253.8 MB, free: 39.15 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.2115, allocations: 5.75 kB / 253.8 MB, free: 39.14 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 6.017e-05/0.2116, allocations: 337.5 kB / 254.2 MB, free: 38.82 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.2118, allocations: 96.16 kB / 254.3 MB, free: 38.78 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.212, allocations: 154.8 kB / 254.4 MB, free: 38.68 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.2122, allocations: 116.6 kB / 254.5 MB, free: 38.64 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2122, allocations: 1.094 kB / 254.5 MB, free: 38.64 MB / 186.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001865/0.2141, allocations: 0.5195 MB / 255 MB, free: 38.42 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2141, allocations: 10.14 kB / 255.1 MB, free: 38.41 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2141, allocations: 1.25 kB / 255.1 MB, free: 38.41 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.2152, allocations: 211.2 kB / 255.3 MB, free: 38.36 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.2155, allocations: 55.27 kB / 255.3 MB, free: 38.35 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.2183, allocations: 2.691 MB / 258 MB, free: 36.02 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.2186, allocations: 14.3 kB / 258 MB, free: 36.01 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.2186, allocations: 17.05 kB / 258 MB, free: 36 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 8.983e-05/0.2187, allocations: 116.3 kB / 258.1 MB, free: 35.88 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.2188, allocations: 28.41 kB / 258.2 MB, free: 35.87 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.2206, allocations: 491.2 kB / 258.7 MB, free: 35.57 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2206, allocations: 7.938 kB / 258.7 MB, free: 35.57 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2206, allocations: 0 / 258.7 MB, free: 35.57 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2206, allocations: 0 / 258.7 MB, free: 35.57 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.2227, allocations: 0.9602 MB / 259.6 MB, free: 34.84 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2228, allocations: 0 / 259.6 MB, free: 34.84 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.223, allocations: 39.28 kB / 259.7 MB, free: 34.82 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.224, allocations: 214.1 kB / 259.9 MB, free: 34.71 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.224, allocations: 11.89 kB / 259.9 MB, free: 34.71 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.2268, allocations: 2.698 MB / 262.6 MB, free: 32.19 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.2268, allocations: 0 / 262.6 MB, free: 32.19 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.2287, allocations: 0.7227 MB / 263.3 MB, free: 31.44 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.2289, allocations: 124.7 kB / 263.4 MB, free: 31.3 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.2289, allocations: 8 kB / 263.4 MB, free: 31.29 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.2291, allocations: 15.98 kB / 263.4 MB, free: 31.28 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.2292, allocations: 23.95 kB / 263.5 MB, free: 31.25 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.2292, allocations: 12 kB / 263.5 MB, free: 31.24 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.2294, allocations: 161.4 kB / 263.6 MB, free: 31.08 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2294, allocations: 64 / 263.6 MB, free: 31.08 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005088/0.2299, allocations: 96 kB / 263.7 MB, free: 30.99 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002037/0.2301, allocations: 129.2 kB / 263.9 MB, free: 30.86 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006483/0.2308, allocations: 422.2 kB / 264.3 MB, free: 30.43 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2308, allocations: 0 / 264.3 MB, free: 30.43 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.2311, allocations: 291 kB / 264.6 MB, free: 30.13 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2314, allocations: 32.38 kB / 264.6 MB, free: 30.1 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.2321, allocations: 445.7 kB / 265 MB, free: 29.64 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.2323, allocations: 0.7755 MB / 265.8 MB, free: 28.84 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 9.474e-05/0.2324, allocations: 22.06 kB / 265.8 MB, free: 28.81 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.2324, allocations: 19.44 kB / 265.8 MB, free: 28.79 MB / 186.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2324, allocations: 0 / 265.8 MB, free: 28.79 MB / 186.7 MB Notification: Performance of Templates: time 0.007303/0.2397, allocations: 4.879 MB / 270.7 MB, free: 23.92 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)