Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001281/0.001281, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001642/0.001642, allocations: 197.4 kB / 16.14 MB, free: 6.664 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.365/1.365, allocations: 205.1 MB / 222 MB, free: 4.762 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.001225/0.001225, allocations: 47.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2422, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003481/0.2457, allocations: 2.715 MB / 327.4 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.247, allocations: 0.8895 MB / 328.3 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.2471, allocations: 7.344 kB / 328.3 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.2474, allocations: 53.62 kB / 328.3 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.2476, allocations: 91.3 kB / 328.4 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.2478, allocations: 79.03 kB / 328.5 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.2482, allocations: 338.2 kB / 328.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.2484, allocations: 89.72 kB / 328.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.2485, allocations: 133.9 kB / 329 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.2487, allocations: 140.9 kB / 329.2 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.2488, allocations: 19.66 kB / 329.2 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.736e-05/0.2488, allocations: 18.69 kB / 329.2 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.2489, allocations: 60.66 kB / 329.3 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.249, allocations: 148.9 kB / 329.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.2493, allocations: 342.2 kB / 329.8 MB, free: 14.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2494, allocations: 1.062 kB / 329.8 MB, free: 14.08 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2494, allocations: 0 / 329.8 MB, free: 14.08 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2494, allocations: 0 / 329.8 MB, free: 14.08 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.0009625/0.2503, allocations: 0.6083 MB / 330.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2504, allocations: 8.938 kB / 330.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.2505, allocations: 32.75 kB / 330.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.2507, allocations: 260.8 kB / 330.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.2508, allocations: 19.97 kB / 330.7 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.2508, allocations: 26 kB / 330.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.2513, allocations: 250 kB / 331 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2513, allocations: 4 kB / 331 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.2514, allocations: 10.88 kB / 331 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2514, allocations: 5.812 kB / 331 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.2518, allocations: 214.6 kB / 331.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.2534, allocations: 1.003 MB / 332.2 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.2538, allocations: 205.5 kB / 332.4 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.2541, allocations: 108.6 kB / 332.5 MB, free: 11.94 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.2541, allocations: 10.47 kB / 332.5 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.2541, allocations: 33.22 kB / 332.5 MB, free: 11.89 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.323e-06/0.2541, allocations: 0 / 332.5 MB, free: 11.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.005259/0.2594, allocations: 1.542 MB / 334.1 MB, free: 10.45 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.2595, allocations: 63.34 kB / 334.1 MB, free: 10.38 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.2597, allocations: 229 kB / 334.4 MB, free: 10.14 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.2597, allocations: 29.7 kB / 334.4 MB, free: 10.11 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2598, allocations: 188.1 kB / 334.6 MB, free: 9.922 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.683e-05/0.2599, allocations: 122.2 kB / 334.7 MB, free: 9.801 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.26, allocations: 62.08 kB / 334.8 MB, free: 9.73 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2602, allocations: 338.8 kB / 335.1 MB, free: 9.391 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.2604, allocations: 108.7 kB / 335.2 MB, free: 9.285 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.2607, allocations: 173.2 kB / 335.4 MB, free: 9.102 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.2612, allocations: 275.8 kB / 335.6 MB, free: 8.816 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2612, allocations: 4 kB / 335.6 MB, free: 8.812 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001586/0.2628, allocations: 0.537 MB / 336.2 MB, free: 8.262 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2629, allocations: 4.625 kB / 336.2 MB, free: 8.258 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2629, allocations: 4 kB / 336.2 MB, free: 8.254 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.2641, allocations: 241.4 kB / 336.4 MB, free: 8.012 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.2644, allocations: 59.91 kB / 336.5 MB, free: 7.953 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004501/0.2689, allocations: 3.728 MB / 340.2 MB, free: 3.953 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.2692, allocations: 8.031 kB / 340.2 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.2692, allocations: 16 kB / 340.2 MB, free: 3.93 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.0001662/0.2694, allocations: 142.4 kB / 340.4 MB, free: 3.781 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.2695, allocations: 31.77 kB / 340.4 MB, free: 3.75 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.2696, allocations: 42.91 kB / 340.4 MB, free: 3.707 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.2696, allocations: 7.938 kB / 340.4 MB, free: 3.699 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.2696, allocations: 4 kB / 340.5 MB, free: 3.695 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2696, allocations: 3.984 kB / 340.5 MB, free: 3.691 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.2717, allocations: 0.9842 MB / 341.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2717, allocations: 4.062 kB / 341.4 MB, free: 2.637 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.272, allocations: 39.97 kB / 341.5 MB, free: 2.598 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.2732, allocations: 249.3 kB / 341.7 MB, free: 2.348 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.2733, allocations: 12 kB / 341.7 MB, free: 2.336 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/0.2775, allocations: 3.709 MB / 345.4 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2775, allocations: 4.031 kB / 345.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.2793, allocations: 0.7212 MB / 346.2 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.2794, allocations: 100.7 kB / 346.3 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.2795, allocations: 15.92 kB / 346.3 MB, free: 13.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.2797, allocations: 16.06 kB / 346.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.2798, allocations: 31.89 kB / 346.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.2798, allocations: 16 kB / 346.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.28, allocations: 164.5 kB / 346.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.28, allocations: 0 / 346.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006197/0.2806, allocations: 104 kB / 346.6 MB, free: 13.15 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.0001474/0.2808, allocations: 99.25 kB / 346.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.2818, allocations: 0.5594 MB / 347.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2818, allocations: 0 / 347.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.2824, allocations: 429.3 kB / 347.7 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.2828, allocations: 31.33 kB / 347.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2841, allocations: 0.8207 MB / 348.5 MB, free: 11.13 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.2845, allocations: 0.7799 MB / 349.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.2846, allocations: 22.23 kB / 349.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.2847, allocations: 19.44 kB / 349.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2847, allocations: 0 / 349.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of Templates: time 0.01009/0.2948, allocations: 5.137 MB / 354.5 MB, free: 5.141 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)