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.005063/0.005062, allocations: 101.2 kB / 15.73 MB, free: 6.016 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.001186/0.001186, allocations: 198 kB / 16.68 MB, free: 5.938 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.401/1.401, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.001132/0.001132, allocations: 49.02 kB / 326.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08401/0.08515, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004247/0.08944, allocations: 2.708 MB / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.09133, allocations: 1.192 MB / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.09149, allocations: 8 kB / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.09296, allocations: 0.6224 MB / 377.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.09329, allocations: 131 kB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.09457, allocations: 0.6808 MB / 378.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.09497, allocations: 286.6 kB / 378.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004722/0.09545, allocations: 282.8 kB / 379.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.09564, allocations: 127.5 kB / 379.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.09586, allocations: 167.4 kB / 379.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.09591, allocations: 28 kB / 379.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.09625, allocations: 179.8 kB / 379.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.09632, allocations: 59.77 kB / 379.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.09645, allocations: 151.3 kB / 379.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006651/0.09712, allocations: 498.5 kB / 380.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.09714, allocations: 0 / 380.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09715, allocations: 0 / 380.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.09716, allocations: 0 / 380.2 MB, free: 10.19 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.001537/0.0987, allocations: 0.7255 MB / 381 MB, free: 9.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.09875, allocations: 8.031 kB / 381 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008344/0.09959, allocations: 120.5 kB / 381.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.1, allocations: 260.6 kB / 381.4 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.1, allocations: 25.03 kB / 381.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.1001, allocations: 32.38 kB / 381.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.1006, allocations: 337 kB / 381.7 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.1007, allocations: 3.906 kB / 381.7 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.1007, allocations: 16 kB / 381.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1007, allocations: 8 kB / 381.8 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.1011, allocations: 238.5 kB / 382 MB, free: 8.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.103, allocations: 1.432 MB / 383.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.1037, allocations: 0.7043 MB / 384.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1039, allocations: 104.8 kB / 384.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.104, allocations: 85.05 kB / 384.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.104, allocations: 34.56 kB / 384.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.1041, allocations: 4 kB / 384.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001264/0.1053, allocations: 499.1 kB / 384.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.1054, allocations: 59.41 kB / 384.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1056, allocations: 171.3 kB / 385.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.1056, allocations: 29.7 kB / 385.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1057, allocations: 179.9 kB / 385.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/0.1058, allocations: 82.8 kB / 385.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.1059, allocations: 49.98 kB / 385.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1061, allocations: 326.8 kB / 385.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1062, allocations: 68.53 kB / 385.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.1064, allocations: 132.2 kB / 385.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.1067, allocations: 220.1 kB / 386.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1067, allocations: 0 / 386.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005284/0.1072, allocations: 336.6 kB / 386.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1073, allocations: 4 kB / 386.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.1073, allocations: 7.938 kB / 386.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/0.1076, allocations: 76.75 kB / 386.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.1078, allocations: 35.98 kB / 386.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.1097, allocations: 2.041 MB / 388.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.1099, allocations: 23.78 kB / 388.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.1099, allocations: 15.98 kB / 388.7 MB, free: 1.105 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.0001301/0.11, allocations: 145.8 kB / 388.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.1101, allocations: 19.75 kB / 388.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.1106, allocations: 284 kB / 389.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1106, allocations: 4 kB / 389.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1106, allocations: 0 / 389.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1106, allocations: 3.984 kB / 389.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009195/0.1116, allocations: 0.6876 MB / 389.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1116, allocations: 3.984 kB / 389.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1117, allocations: 23.94 kB / 389.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002228/0.1119, allocations: 72.8 kB / 389.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.112, allocations: 4 kB / 389.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.1138, allocations: 2.041 MB / 391.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1139, allocations: 0 / 391.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.1145, allocations: 452.4 kB / 392.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-05/0.1146, allocations: 116.9 kB / 392.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.1146, allocations: 12.12 kB / 392.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1147, allocations: 0 / 392.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.1148, allocations: 23.95 kB / 392.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1148, allocations: 8 kB / 392.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1149, allocations: 123.2 kB / 392.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1149, allocations: 0 / 392.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004606/0.1154, allocations: 99.69 kB / 392.8 MB, free: 12.75 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.0002288/0.1156, allocations: 123.2 kB / 392.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006118/0.1163, allocations: 358.1 kB / 393.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1163, allocations: 448 / 393.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.1166, allocations: 250.6 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.000291/0.1169, allocations: 19.91 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.001024/0.1179, allocations: 0.5553 MB / 394 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.1183, allocations: 0.756 MB / 394.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.012e-05/0.1184, allocations: 21.94 kB / 394.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.1185, allocations: 23.44 kB / 394.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1185, allocations: 0 / 394.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of Templates: time 0.006538/0.125, allocations: 2.579 MB / 397.4 MB, free: 7.988 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)