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.0007871/0.0007872, allocations: 90.67 kB / 16.31 MB, free: 5.684 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.0008706/0.0008707, allocations: 186.9 kB / 17.21 MB, free: 5.602 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.351/1.351, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.0004885/0.0004885, allocations: 11.94 kB / 280.2 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1015, allocations: 47.59 MB / 327.7 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002584/0.1042, allocations: 2.253 MB / 330 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.106, allocations: 1.08 MB / 331.1 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1061, allocations: 8 kB / 331.1 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.1064, allocations: 95.52 kB / 331.2 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.1067, allocations: 115.3 kB / 331.3 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1078, allocations: 0.5375 MB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.1081, allocations: 270.7 kB / 332.1 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008946/0.109, allocations: 0.5375 MB / 332.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.1092, allocations: 95.64 kB / 332.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1094, allocations: 143.4 kB / 332.9 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1094, allocations: 12 kB / 332.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.1097, allocations: 159.8 kB / 333 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.1098, allocations: 43.78 kB / 333.1 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.1098, allocations: 77.58 kB / 333.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.1102, allocations: 367.3 kB / 333.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1102, allocations: 0 / 333.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1102, allocations: 7.938 kB / 333.5 MB, free: 14.24 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1102, allocations: 0 / 333.5 MB, free: 14.24 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.001394/0.1116, allocations: 0.6668 MB / 334.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1117, allocations: 8.031 kB / 334.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007315/0.1124, allocations: 131.5 kB / 334.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.1127, allocations: 251.3 kB / 334.6 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.1127, allocations: 24.61 kB / 334.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.1128, allocations: 32 kB / 334.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.1133, allocations: 336.9 kB / 334.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1133, allocations: 0 / 334.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.1134, allocations: 20 kB / 335 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1134, allocations: 8 kB / 335 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.1138, allocations: 234.5 kB / 335.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.1156, allocations: 1.451 MB / 336.7 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/0.1162, allocations: 0.6968 MB / 337.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1164, allocations: 96.83 kB / 337.4 MB, free: 9.938 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.941e-05/0.1165, allocations: 85.11 kB / 337.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1165, allocations: 38.5 kB / 337.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.372e-06/0.1165, allocations: 3.938 kB / 337.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001149/0.1177, allocations: 499.3 kB / 338.1 MB, free: 9.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1177, allocations: 55.41 kB / 338.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.1179, allocations: 175.3 kB / 338.3 MB, free: 9.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1179, allocations: 29.7 kB / 338.3 MB, free: 8.984 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.118, allocations: 180 kB / 338.5 MB, free: 8.801 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/0.1181, allocations: 78.81 kB / 338.6 MB, free: 8.723 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.1181, allocations: 8 kB / 338.6 MB, free: 8.715 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1182, allocations: 326.8 kB / 338.9 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1183, allocations: 64.55 kB / 339 MB, free: 8.324 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.1185, allocations: 136.1 kB / 339.1 MB, free: 8.168 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1186, allocations: 77.17 kB / 339.2 MB, free: 8.094 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1186, allocations: 8 kB / 339.2 MB, free: 8.086 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005351/0.1192, allocations: 324.8 kB / 339.5 MB, free: 7.762 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1192, allocations: 4 kB / 339.5 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1192, allocations: 4 kB / 339.5 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.1195, allocations: 77.02 kB / 339.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1197, allocations: 43.92 kB / 339.6 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.1217, allocations: 1.846 MB / 341.5 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.1218, allocations: 19.84 kB / 341.5 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.1218, allocations: 12 kB / 341.5 MB, free: 5.621 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.122, allocations: 153.8 kB / 341.6 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.122, allocations: 19.77 kB / 341.7 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.1226, allocations: 284.6 kB / 341.9 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1226, allocations: 8 kB / 341.9 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1226, allocations: 4 kB / 341.9 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1226, allocations: 3.984 kB / 342 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009244/0.1235, allocations: 0.6866 MB / 342.6 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1235, allocations: 0 / 342.6 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1236, allocations: 27.98 kB / 342.7 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.1239, allocations: 80.73 kB / 342.7 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.124, allocations: 8 kB / 342.8 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.1258, allocations: 1.831 MB / 344.6 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1258, allocations: 0 / 344.6 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.1264, allocations: 447.7 kB / 345 MB, free: 1.855 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.1265, allocations: 108.9 kB / 345.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.1265, allocations: 8 kB / 345.1 MB, free: 1.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1266, allocations: 4 kB / 345.1 MB, free: 1.719 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.1267, allocations: 23.91 kB / 345.2 MB, free: 1.695 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1267, allocations: 8.062 kB / 345.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1268, allocations: 127.5 kB / 345.3 MB, free: 1.562 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1268, allocations: 0 / 345.3 MB, free: 1.562 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004866/0.1273, allocations: 99.69 kB / 345.4 MB, free: 1.465 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001989/0.1275, allocations: 115.2 kB / 345.5 MB, free: 1.344 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006183/0.1281, allocations: 346.4 kB / 345.8 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1281, allocations: 0 / 345.8 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.1285, allocations: 251.4 kB / 346.1 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.1288, allocations: 16.7 kB / 346.1 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1298, allocations: 0.7138 MB / 346.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1302, allocations: 0.748 MB / 347.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1303, allocations: 21.95 kB / 347.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.1304, allocations: 23.42 kB / 347.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1304, allocations: 0 / 347.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Templates: time 0.005532/0.1359, allocations: 2.349 MB / 350 MB, free: 12.81 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)