Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008084/0.0008083, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0007762/0.0007762, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.0004305/0.0004305, allocations: 12 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2122, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005791/0.2181, allocations: 5.575 MB / 332.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004368/0.2224, allocations: 2.32 MB / 334.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000454/0.2229, allocations: 23.22 kB / 334.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007267/0.2237, allocations: 265.5 kB / 334.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.2251, allocations: 0.5795 MB / 335.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.227, allocations: 0.8969 MB / 336.1 MB, free: 9.824 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.2282, allocations: 0.9889 MB / 337.1 MB, free: 8.824 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.2302, allocations: 1.187 MB / 338.3 MB, free: 7.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.2307, allocations: 370.5 kB / 338.7 MB, free: 7.227 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.2313, allocations: 474 kB / 339.1 MB, free: 6.762 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.842e-05/0.2314, allocations: 48 kB / 339.2 MB, free: 6.715 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007832/0.2322, allocations: 343.6 kB / 339.5 MB, free: 6.379 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.2323, allocations: 175.2 kB / 339.7 MB, free: 6.207 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.2325, allocations: 205.2 kB / 339.9 MB, free: 6 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2336, allocations: 1.123 MB / 341 MB, free: 4.875 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2336, allocations: 0 / 341 MB, free: 4.875 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2336, allocations: 4 kB / 341 MB, free: 4.871 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.2336, allocations: 4 kB / 341 MB, free: 4.867 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.003685/0.2373, allocations: 1.464 MB / 342.5 MB, free: 3.352 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2374, allocations: 8.031 kB / 342.5 MB, free: 3.344 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003768/0.2412, allocations: 0.5841 MB / 343.1 MB, free: 2.758 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/0.2418, allocations: 489.3 kB / 343.6 MB, free: 2.238 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.337e-05/0.2419, allocations: 90.3 kB / 343.6 MB, free: 2.148 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.242, allocations: 116 kB / 343.8 MB, free: 2.035 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.2439, allocations: 1.014 MB / 344.8 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.244, allocations: 7.906 kB / 344.8 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.71e-05/0.2441, allocations: 44 kB / 344.8 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.2441, allocations: 28 kB / 344.8 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.246, allocations: 1.036 MB / 345.9 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005768/0.2518, allocations: 3.881 MB / 349.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.2539, allocations: 2.052 MB / 351.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/0.2547, allocations: 440.3 kB / 352.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.2548, allocations: 102.1 kB / 352.3 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008385/0.2557, allocations: 478.5 kB / 352.8 MB, free: 8.402 MB / 286.1 MB Notification: Performance of pre-optimization done (n=98): time 2.555e-06/0.2557, allocations: 0 / 352.8 MB, free: 8.402 MB / 286.1 MB Notification: Performance of matching and sorting (n=127): time 0.008553/0.2643, allocations: 4.061 MB / 356.9 MB, free: 4.223 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.2644, allocations: 141.5 kB / 357 MB, free: 4.051 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.2648, allocations: 413.7 kB / 357.4 MB, free: 3.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.2649, allocations: 53.7 kB / 357.5 MB, free: 3.586 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.2652, allocations: 435.5 kB / 357.9 MB, free: 3.152 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.2655, allocations: 433.7 kB / 358.3 MB, free: 2.723 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.2656, allocations: 24 kB / 358.3 MB, free: 2.699 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2657, allocations: 382.7 kB / 358.7 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006997/0.2664, allocations: 366.5 kB / 359.1 MB, free: 1.957 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008419/0.2673, allocations: 0.576 MB / 359.6 MB, free: 1.297 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008098/0.2681, allocations: 459.8 kB / 360.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2681, allocations: 0 / 360.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002539/0.2707, allocations: 1.425 MB / 361.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2707, allocations: 8 kB / 361.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.2707, allocations: 8 kB / 361.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008369/0.2716, allocations: 355 kB / 361.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/0.2725, allocations: 215.7 kB / 362.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00737/0.2798, allocations: 7.72 MB / 369.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/0.2806, allocations: 63.95 kB / 369.9 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.2807, allocations: 47.98 kB / 369.9 MB, free: 6.453 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 19,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004381/0.2811, allocations: 265.3 kB / 370.2 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.2812, allocations: 79.11 kB / 370.3 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.2836, allocations: 1.321 MB / 371.6 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.2837, allocations: 12 kB / 371.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.2837, allocations: 11.98 kB / 371.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.2837, allocations: 3.984 kB / 371.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.2876, allocations: 2.573 MB / 374.2 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2876, allocations: 0 / 374.2 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006877/0.2883, allocations: 159.8 kB / 374.3 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007378/0.2891, allocations: 323.3 kB / 374.7 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-05/0.2891, allocations: 31.98 kB / 374.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00673/0.2959, allocations: 7.43 MB / 382.1 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2959, allocations: 4.062 kB / 382.1 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/0.299, allocations: 1.827 MB / 383.9 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.2993, allocations: 224.1 kB / 384.2 MB, free: 7.477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.68e-05/0.2994, allocations: 31.98 kB / 384.2 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.2999, allocations: 43.98 kB / 384.2 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.3001, allocations: 101 kB / 384.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.3002, allocations: 36 kB / 384.4 MB, free: 7.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002984/0.3005, allocations: 275.2 kB / 384.6 MB, free: 7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3005, allocations: 0 / 384.6 MB, free: 7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001185/0.3017, allocations: 328 kB / 385 MB, free: 6.68 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 19,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002589/0.3019, allocations: 163.1 kB / 385.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.3044, allocations: 1.636 MB / 386.8 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3044, allocations: 7.984 kB / 386.8 MB, free: 4.816 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.3059, allocations: 1.151 MB / 387.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.3065, allocations: 77.55 kB / 388 MB, free: 3.539 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.3101, allocations: 2.437 MB / 390.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.3107, allocations: 1.028 MB / 391.5 MB, free: 0 / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005109/0.3112, allocations: 106.5 kB / 391.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.3114, allocations: 63.36 kB / 391.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3114, allocations: 0 / 391.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of Templates: time 0.01725/0.3287, allocations: 10.11 MB / 401.7 MB, free: 5.695 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1)