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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 195.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 47.94 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2173, allocations: 46.62 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003274/0.2206, allocations: 2.725 MB / 327.4 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2219, allocations: 0.891 MB / 328.3 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.2221, allocations: 8.156 kB / 328.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.2224, allocations: 42.53 kB / 328.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.2226, allocations: 98.52 kB / 328.4 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.2229, allocations: 79.27 kB / 328.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.2232, allocations: 330.3 kB / 328.8 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.2234, allocations: 96.95 kB / 328.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.2236, allocations: 125.8 kB / 329 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.2238, allocations: 149.3 kB / 329.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.2239, allocations: 19.5 kB / 329.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.222e-05/0.2239, allocations: 18.84 kB / 329.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.366e-05/0.224, allocations: 60.19 kB / 329.3 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.2242, allocations: 141 kB / 329.4 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.2245, allocations: 347.1 kB / 329.8 MB, free: 14.05 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2245, allocations: 0 / 329.8 MB, free: 14.05 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2245, allocations: 0 / 329.8 MB, free: 14.05 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2245, allocations: 0 / 329.8 MB, free: 14.05 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001059/0.2256, allocations: 0.601 MB / 330.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2256, allocations: 8.5 kB / 330.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/0.2257, allocations: 37.38 kB / 330.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.226, allocations: 260.9 kB / 330.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.226, allocations: 23.78 kB / 330.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.2261, allocations: 25.81 kB / 330.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.2266, allocations: 257.2 kB / 331 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2266, allocations: 0 / 331 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.2267, allocations: 10.75 kB / 331 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2267, allocations: 6.719 kB / 331 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.2271, allocations: 206.1 kB / 331.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.2287, allocations: 0.9995 MB / 332.2 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.2292, allocations: 209.2 kB / 332.4 MB, free: 11.97 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.2295, allocations: 117 kB / 332.5 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.2295, allocations: 2.188 kB / 332.5 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.2296, allocations: 36.97 kB / 332.5 MB, free: 11.87 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.382e-06/0.2296, allocations: 3.938 kB / 332.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.005206/0.2348, allocations: 1.538 MB / 334.1 MB, free: 10.44 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.2348, allocations: 63.34 kB / 334.1 MB, free: 10.37 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.2351, allocations: 229 kB / 334.4 MB, free: 10.13 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.2351, allocations: 29.7 kB / 334.4 MB, free: 10.1 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.2352, allocations: 180.2 kB / 334.6 MB, free: 9.918 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.949e-05/0.2353, allocations: 122.2 kB / 334.7 MB, free: 9.797 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2354, allocations: 66.06 kB / 334.8 MB, free: 9.723 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2355, allocations: 334.8 kB / 335.1 MB, free: 9.387 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.2358, allocations: 112.7 kB / 335.2 MB, free: 9.277 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.2361, allocations: 165.2 kB / 335.4 MB, free: 9.102 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.2366, allocations: 287.8 kB / 335.6 MB, free: 8.805 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2366, allocations: 0 / 335.6 MB, free: 8.805 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001588/0.2382, allocations: 0.5331 MB / 336.2 MB, free: 8.258 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2382, allocations: 8 kB / 336.2 MB, free: 8.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2382, allocations: 7.938 kB / 336.2 MB, free: 8.242 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.2395, allocations: 241.5 kB / 336.4 MB, free: 8 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.2398, allocations: 55.91 kB / 336.5 MB, free: 7.945 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004777/0.2446, allocations: 3.728 MB / 340.2 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.2448, allocations: 19.97 kB / 340.2 MB, free: 3.926 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.2449, allocations: 12.06 kB / 340.2 MB, free: 3.914 MB / 270.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.245, allocations: 145.8 kB / 340.4 MB, free: 3.762 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.2451, allocations: 31.7 kB / 340.4 MB, free: 3.73 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.171e-05/0.2452, allocations: 42.95 kB / 340.4 MB, free: 3.688 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.2452, allocations: 7.938 kB / 340.5 MB, free: 3.68 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2452, allocations: 0 / 340.5 MB, free: 3.68 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2452, allocations: 3.984 kB / 340.5 MB, free: 3.676 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.2474, allocations: 0.9843 MB / 341.4 MB, free: 2.625 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2474, allocations: 0 / 341.4 MB, free: 2.625 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.2476, allocations: 47.91 kB / 341.5 MB, free: 2.578 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.2489, allocations: 241.5 kB / 341.7 MB, free: 2.336 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.2489, allocations: 12 kB / 341.7 MB, free: 2.324 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004258/0.2532, allocations: 3.713 MB / 345.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2532, allocations: 0 / 345.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.255, allocations: 0.729 MB / 346.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.2551, allocations: 96.73 kB / 346.3 MB, free: 13.47 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.2551, allocations: 15.92 kB / 346.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.2554, allocations: 12 kB / 346.3 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.2555, allocations: 27.95 kB / 346.3 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.2555, allocations: 12 kB / 346.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.2556, allocations: 164.5 kB / 346.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2556, allocations: 64 / 346.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005801/0.2562, allocations: 108 kB / 346.6 MB, free: 13.14 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000118/0.2564, allocations: 103.2 kB / 346.7 MB, free: 13.03 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009516/0.2573, allocations: 0.5633 MB / 347.3 MB, free: 12.44 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2573, allocations: 3.938 kB / 347.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000569/0.2579, allocations: 425 kB / 347.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.2583, allocations: 35.7 kB / 347.7 MB, free: 11.96 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.2596, allocations: 0.8167 MB / 348.5 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2599, allocations: 0.7799 MB / 349.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.2601, allocations: 18.28 kB / 349.3 MB, free: 10.29 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.2601, allocations: 23.44 kB / 349.4 MB, free: 10.27 MB / 286.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2601, allocations: 0 / 349.4 MB, free: 10.27 MB / 286.1 MB Notification: Performance of Templates: time 0.009241/0.2694, allocations: 5.137 MB / 354.5 MB, free: 5.129 MB / 286.1 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)