Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001156/0.001156, allocations: 106.3 kB / 16.92 MB, free: 6.109 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.001302/0.001302, allocations: 191.3 kB / 17.85 MB, free: 5.277 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.531/1.531, allocations: 205.1 MB / 223.7 MB, free: 12.26 MB / 190.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.00131/0.00131, allocations: 47.94 kB / 280 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0864/0.08772, allocations: 46.63 MB / 326.6 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003962/0.09173, allocations: 2.72 MB / 329.3 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.09364, allocations: 1.188 MB / 330.5 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.09382, allocations: 8 kB / 330.5 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.09529, allocations: 0.6186 MB / 331.2 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.09562, allocations: 127 kB / 331.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.09689, allocations: 0.6846 MB / 332 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.09728, allocations: 290.6 kB / 332.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.09774, allocations: 271 kB / 332.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.09793, allocations: 131.5 kB / 332.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.09813, allocations: 167.4 kB / 332.8 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.09819, allocations: 28 kB / 332.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.09854, allocations: 171.9 kB / 333 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.09861, allocations: 59.77 kB / 333.1 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.09874, allocations: 147.3 kB / 333.2 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.09928, allocations: 498.5 kB / 333.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.09929, allocations: 0 / 333.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0993, allocations: 0 / 333.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.09931, allocations: 0 / 333.7 MB, free: 13.36 MB / 286.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.001582/0.1009, allocations: 0.7177 MB / 334.4 MB, free: 12.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.101, allocations: 12.03 kB / 334.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008158/0.1018, allocations: 124.5 kB / 334.5 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.1021, allocations: 264.4 kB / 334.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.1021, allocations: 25.03 kB / 334.8 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.1022, allocations: 36.38 kB / 334.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.1027, allocations: 340.9 kB / 335.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1028, allocations: 0 / 335.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.1028, allocations: 16 kB / 335.2 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1028, allocations: 8 kB / 335.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.1032, allocations: 238.5 kB / 335.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.1052, allocations: 1.447 MB / 336.9 MB, free: 9.902 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.106, allocations: 0.6965 MB / 337.6 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.1061, allocations: 108.8 kB / 337.7 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.1062, allocations: 89.05 kB / 337.8 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1063, allocations: 30.56 kB / 337.8 MB, free: 8.832 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.1063, allocations: 4 kB / 337.8 MB, free: 8.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001227/0.1075, allocations: 495.3 kB / 338.3 MB, free: 8.316 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.1076, allocations: 51.41 kB / 338.4 MB, free: 8.254 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.1077, allocations: 175.3 kB / 338.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1078, allocations: 29.7 kB / 338.6 MB, free: 8.035 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1079, allocations: 179.9 kB / 338.7 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.115e-05/0.108, allocations: 86.84 kB / 338.8 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.1081, allocations: 53.89 kB / 338.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1082, allocations: 322.8 kB / 339.2 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1084, allocations: 72.53 kB / 339.3 MB, free: 7.312 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.1085, allocations: 128.2 kB / 339.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.1088, allocations: 220 kB / 339.6 MB, free: 6.926 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1088, allocations: 4 kB / 339.6 MB, free: 6.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005331/0.1094, allocations: 324.5 kB / 339.9 MB, free: 6.598 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.1094, allocations: 8 kB / 339.9 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1094, allocations: 3.984 kB / 339.9 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000289/0.1097, allocations: 77.03 kB / 340 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1099, allocations: 43.92 kB / 340 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.1118, allocations: 2.033 MB / 342.1 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.1119, allocations: 27.69 kB / 342.1 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.1119, allocations: 12 kB / 342.1 MB, free: 4.254 MB / 286.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.0001554/0.1121, allocations: 145.8 kB / 342.3 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.1122, allocations: 19.75 kB / 342.3 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.1127, allocations: 292.8 kB / 342.6 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1127, allocations: 0 / 342.6 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.1127, allocations: 4 kB / 342.6 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1127, allocations: 0 / 342.6 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009669/0.1137, allocations: 0.6979 MB / 343.3 MB, free: 3.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.1137, allocations: 0 / 343.3 MB, free: 3.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1138, allocations: 27.92 kB / 343.3 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002404/0.1141, allocations: 76.75 kB / 343.4 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1141, allocations: 11.98 kB / 343.4 MB, free: 2.914 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.116, allocations: 2.03 MB / 345.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.116, allocations: 0 / 345.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.1166, allocations: 451.8 kB / 345.9 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/0.1167, allocations: 112.9 kB / 346 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1167, allocations: 8 kB / 346 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1168, allocations: 4 kB / 346 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1169, allocations: 16.03 kB / 346 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1169, allocations: 12 kB / 346 MB, free: 116 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.117, allocations: 131.5 kB / 346.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1171, allocations: 0 / 346.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00052/0.1176, allocations: 95.69 kB / 346.2 MB, free: 15.89 MB / 302.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.0003475/0.1179, allocations: 131.2 kB / 346.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006363/0.1186, allocations: 354.2 kB / 346.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1186, allocations: 0 / 346.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.1189, allocations: 246.9 kB / 346.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.1193, allocations: 19.28 kB / 347 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1205, allocations: 0.5606 MB / 347.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.1211, allocations: 0.756 MB / 348.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.1212, allocations: 25.94 kB / 348.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.1213, allocations: 23.44 kB / 348.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1213, allocations: 0 / 348.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of Templates: time 0.00689/0.1282, allocations: 2.544 MB / 350.9 MB, free: 11.16 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1)