Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005226/0.005226, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001194/0.001194, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.444/1.444, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.001147/0.001147, allocations: 53.84 kB / 326.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.08369, allocations: 46.63 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00369/0.08744, allocations: 2.7 MB / 375.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.08913, allocations: 1.184 MB / 377.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.08926, allocations: 11.94 kB / 377.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.09068, allocations: 0.6263 MB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.09095, allocations: 135 kB / 377.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.09215, allocations: 0.673 MB / 378.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.09249, allocations: 290.6 kB / 378.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/0.09291, allocations: 278.8 kB / 379.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.09307, allocations: 131.5 kB / 379.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.09328, allocations: 163.4 kB / 379.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.09332, allocations: 24 kB / 379.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.09362, allocations: 175.8 kB / 379.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.09368, allocations: 63.77 kB / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.09381, allocations: 151.3 kB / 379.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000531/0.09434, allocations: 0.4904 MB / 380.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.09436, allocations: 0 / 380.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09436, allocations: 0 / 380.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.09438, allocations: 0 / 380.2 MB, free: 10.23 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001506/0.09589, allocations: 0.7326 MB / 381 MB, free: 9.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.09593, allocations: 12.03 kB / 381 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007939/0.09673, allocations: 120.6 kB / 381.1 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.09706, allocations: 264.5 kB / 381.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.09709, allocations: 25.03 kB / 381.4 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.09715, allocations: 32.38 kB / 381.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.09764, allocations: 333 kB / 381.7 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.09766, allocations: 4 kB / 381.7 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.09769, allocations: 12 kB / 381.8 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.09771, allocations: 11.98 kB / 381.8 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.09809, allocations: 242.5 kB / 382 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.09991, allocations: 1.444 MB / 383.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.1005, allocations: 0.6965 MB / 384.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1007, allocations: 101.6 kB / 384.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.732e-05/0.1008, allocations: 93.03 kB / 384.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.1008, allocations: 34.56 kB / 384.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.1008, allocations: 4 kB / 384.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001137/0.102, allocations: 495.3 kB / 384.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.102, allocations: 55.41 kB / 384.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1022, allocations: 171.3 kB / 385.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1022, allocations: 33.7 kB / 385.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.04e-05/0.1023, allocations: 184.4 kB / 385.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.1024, allocations: 91.22 kB / 385.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.1025, allocations: 45.98 kB / 385.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1026, allocations: 326.8 kB / 385.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.1027, allocations: 72.53 kB / 385.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1028, allocations: 124.1 kB / 385.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.1031, allocations: 216.2 kB / 386.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1031, allocations: 0 / 386.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005299/0.1037, allocations: 336.5 kB / 386.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1037, allocations: 8 kB / 386.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1037, allocations: 3.984 kB / 386.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/0.1041, allocations: 88.89 kB / 386.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1042, allocations: 39.98 kB / 386.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.1061, allocations: 2.037 MB / 388.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.1062, allocations: 23.78 kB / 388.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.1062, allocations: 20.06 kB / 388.7 MB, free: 1.109 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.1064, allocations: 137.8 kB / 388.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.1064, allocations: 19.84 kB / 388.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/0.1069, allocations: 284 kB / 389.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1069, allocations: 4 kB / 389.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1069, allocations: 8 kB / 389.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.107, allocations: 0 / 389.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009022/0.1079, allocations: 0.6915 MB / 389.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1079, allocations: 0 / 389.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.108, allocations: 31.92 kB / 389.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/0.1082, allocations: 72.81 kB / 389.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1082, allocations: 4 kB / 389.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.11, allocations: 2.03 MB / 392 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.11, allocations: 0 / 392 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.1106, allocations: 468.5 kB / 392.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.1107, allocations: 105 kB / 392.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.1107, allocations: 7.984 kB / 392.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1108, allocations: 4 kB / 392.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.1109, allocations: 15.98 kB / 392.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1109, allocations: 4 kB / 392.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.708e-05/0.111, allocations: 131.3 kB / 392.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.111, allocations: 4 kB / 392.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004516/0.1115, allocations: 95.78 kB / 392.8 MB, free: 12.76 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001948/0.1117, allocations: 131 kB / 392.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.1123, allocations: 362.1 kB / 393.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1123, allocations: 0 / 393.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.1126, allocations: 246.5 kB / 393.5 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.1129, allocations: 24.34 kB / 393.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009229/0.1138, allocations: 0.5625 MB / 394.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1141, allocations: 0.7521 MB / 394.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.932e-05/0.1142, allocations: 25.94 kB / 394.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.1143, allocations: 15.44 kB / 394.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1143, allocations: 0 / 394.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of Templates: time 0.005766/0.12, allocations: 2.575 MB / 397.5 MB, free: 7.992 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1)