Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.009243/0.009242, allocations: 108.3 kB / 15.74 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.001584/0.001585, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.432/1.432, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001186/0.001186, allocations: 54.56 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.08803, 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.003711/0.09179, allocations: 2.704 MB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.09356, allocations: 1.192 MB / 377.1 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.0937, allocations: 8 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.0951, allocations: 0.6263 MB / 377.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.09539, allocations: 131 kB / 377.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.09662, allocations: 0.6692 MB / 378.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.09699, allocations: 290.6 kB / 378.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.09746, allocations: 278.8 kB / 379.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.09764, allocations: 135.5 kB / 379.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.09785, allocations: 159.4 kB / 379.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.09789, allocations: 24 kB / 379.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.09822, allocations: 175.8 kB / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.09828, allocations: 67.7 kB / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.09841, allocations: 151.3 kB / 379.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.09895, allocations: 494.5 kB / 380.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.09896, allocations: 0 / 380.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09897, allocations: 0 / 380.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.09898, 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.001626/0.1006, allocations: 0.7255 MB / 381 MB, free: 9.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1007, allocations: 12.03 kB / 381 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008953/0.1016, allocations: 120.5 kB / 381.1 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.102, allocations: 268.4 kB / 381.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.102, allocations: 21.03 kB / 381.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.1021, allocations: 32.38 kB / 381.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.1027, allocations: 337 kB / 381.7 MB, free: 8.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1027, allocations: 3.906 kB / 381.7 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.1028, allocations: 12 kB / 381.8 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.1028, allocations: 8 kB / 381.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.1032, allocations: 246.4 kB / 382 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.1052, allocations: 1.432 MB / 383.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.106, allocations: 0.7043 MB / 384.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.1062, allocations: 96.83 kB / 384.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.1063, allocations: 93.03 kB / 384.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1063, allocations: 38.56 kB / 384.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.1063, allocations: 0 / 384.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001226/0.1076, allocations: 499.1 kB / 384.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1076, allocations: 59.41 kB / 384.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1078, allocations: 171.3 kB / 385.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.1078, allocations: 29.7 kB / 385.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1079, allocations: 179.9 kB / 385.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.756e-05/0.108, allocations: 86.8 kB / 385.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.1081, allocations: 49.98 kB / 385.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1082, allocations: 326.8 kB / 385.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1084, allocations: 68.53 kB / 385.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.1085, allocations: 124.2 kB / 385.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.1088, allocations: 216.1 kB / 386.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.1088, allocations: 4 kB / 386.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005598/0.1094, allocations: 328.4 kB / 386.5 MB, free: 3.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1094, allocations: 8 kB / 386.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1094, allocations: 224 / 386.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003087/0.1098, allocations: 88.73 kB / 386.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1099, allocations: 39.92 kB / 386.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.112, allocations: 2.037 MB / 388.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.1121, allocations: 23.81 kB / 388.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.1122, allocations: 19.98 kB / 388.7 MB, free: 1.121 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.0001498/0.1123, allocations: 145.7 kB / 388.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.1124, allocations: 19.75 kB / 388.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005476/0.1129, allocations: 288 kB / 389.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1129, allocations: 4 kB / 389.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1129, allocations: 0 / 389.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.113, allocations: 0 / 389.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009528/0.1139, allocations: 0.6875 MB / 389.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1139, allocations: 0 / 389.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.114, allocations: 23.98 kB / 389.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.1143, allocations: 76.75 kB / 389.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.1143, allocations: 12 kB / 389.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.1161, allocations: 2.026 MB / 391.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1161, allocations: 0 / 391.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.1168, allocations: 460.5 kB / 392.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.527e-05/0.1169, allocations: 108.9 kB / 392.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1169, allocations: 19.91 kB / 392.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.117, allocations: 0 / 392.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.1171, allocations: 15.98 kB / 392.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1171, allocations: 8.062 kB / 392.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1172, allocations: 127.2 kB / 392.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1172, allocations: 0 / 392.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004649/0.1177, allocations: 99.67 kB / 392.8 MB, free: 12.77 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.0002031/0.1179, allocations: 127.2 kB / 392.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005706/0.1185, allocations: 358.1 kB / 393.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1185, allocations: 0 / 393.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.1188, allocations: 243 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.0002793/0.1191, allocations: 23.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.000953/0.12, allocations: 0.567 MB / 394.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1204, allocations: 0.7521 MB / 394.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.648e-05/0.1205, allocations: 17.95 kB / 394.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.1205, allocations: 19.7 kB / 394.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1205, allocations: 0 / 394.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of Templates: time 0.005666/0.1262, allocations: 2.575 MB / 397.4 MB, free: 8.012 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1)