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.007493/0.007493, allocations: 101.6 kB / 15.73 MB, free: 6.055 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.001823/0.001823, allocations: 200.3 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.503/1.503, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001253/0.001253, allocations: 61.84 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/0.08872, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003982/0.09275, allocations: 2.704 MB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.09466, allocations: 1.196 MB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.09483, allocations: 8 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.09631, allocations: 0.6185 MB / 377.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.09658, allocations: 131 kB / 377.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.09781, allocations: 0.677 MB / 378.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.09818, allocations: 290.6 kB / 378.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004676/0.09866, allocations: 270.8 kB / 379.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.09884, allocations: 139.5 kB / 379.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.09906, allocations: 163.4 kB / 379.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.09911, allocations: 24 kB / 379.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.09944, allocations: 171.9 kB / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.0995, allocations: 67.7 kB / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.09964, allocations: 147.3 kB / 379.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.1002, allocations: 490.6 kB / 380.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.1002, allocations: 0 / 380.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1002, allocations: 7.938 kB / 380.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1002, allocations: 0 / 380.2 MB, free: 10.22 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.001551/0.1018, allocations: 0.7255 MB / 381 MB, free: 9.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1018, allocations: 8.031 kB / 381 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007905/0.1026, allocations: 128.5 kB / 381.1 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.103, allocations: 256.6 kB / 381.3 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.1031, allocations: 25.03 kB / 381.4 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.1031, allocations: 32.36 kB / 381.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.1036, allocations: 333 kB / 381.7 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.1037, allocations: 11.89 kB / 381.7 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.1037, allocations: 12 kB / 381.8 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1037, allocations: 8 kB / 381.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.1041, allocations: 242.5 kB / 382 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.1059, allocations: 1.432 MB / 383.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.1065, allocations: 0.7082 MB / 384.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.1067, allocations: 100.8 kB / 384.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.637e-05/0.1068, allocations: 93.03 kB / 384.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.1068, allocations: 30.56 kB / 384.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.1068, allocations: 0 / 384.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001193/0.108, allocations: 0.4952 MB / 384.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1081, allocations: 55.41 kB / 384.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1083, allocations: 175.3 kB / 385.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1083, allocations: 25.7 kB / 385.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.1084, allocations: 179.9 kB / 385.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.1085, allocations: 82.81 kB / 385.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.388e-05/0.1085, allocations: 53.98 kB / 385.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1087, allocations: 326.8 kB / 385.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1088, allocations: 68.53 kB / 385.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1089, allocations: 124.2 kB / 385.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.1092, allocations: 216.1 kB / 386.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1092, allocations: 4 kB / 386.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005242/0.1097, allocations: 328.5 kB / 386.5 MB, free: 3.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1098, allocations: 8 kB / 386.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1098, allocations: 3.938 kB / 386.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003004/0.1101, allocations: 85.02 kB / 386.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1102, allocations: 39.92 kB / 386.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.1121, allocations: 2.037 MB / 388.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.1123, allocations: 23.75 kB / 388.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.1123, allocations: 12 kB / 388.7 MB, free: 1.129 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.0001406/0.1124, allocations: 149.8 kB / 388.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.1125, allocations: 19.75 kB / 388.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005249/0.113, allocations: 292 kB / 389.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.113, allocations: 4 kB / 389.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.113, allocations: 0 / 389.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.113, allocations: 4 kB / 389.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009213/0.114, allocations: 0.6875 MB / 389.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.114, allocations: 0 / 389.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1141, allocations: 23.98 kB / 389.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/0.1143, allocations: 76.75 kB / 389.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1144, allocations: 8 kB / 389.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.1161, allocations: 2.026 MB / 391.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1161, allocations: 0 / 391.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.1167, allocations: 460.5 kB / 392.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.1168, allocations: 112.9 kB / 392.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.1168, allocations: 8 kB / 392.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.1169, allocations: 4 kB / 392.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.117, allocations: 11.98 kB / 392.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.117, allocations: 8 kB / 392.5 MB, free: 13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.61e-05/0.1171, allocations: 131.2 kB / 392.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1171, allocations: 0 / 392.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.1176, allocations: 95.75 kB / 392.7 MB, free: 12.78 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.0002057/0.1178, allocations: 131.2 kB / 392.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005848/0.1184, allocations: 362.1 kB / 393.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1184, allocations: 0 / 393.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.1187, allocations: 246.6 kB / 393.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.119, allocations: 15.91 kB / 393.5 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008786/0.1199, allocations: 0.5712 MB / 394.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1202, allocations: 0.7521 MB / 394.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.431e-05/0.1203, allocations: 25.94 kB / 394.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.1203, allocations: 15.44 kB / 394.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1203, allocations: 0 / 394.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of Templates: time 0.005795/0.1261, allocations: 2.575 MB / 397.4 MB, free: 8.008 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)