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.001682/0.001682, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 190.6 kB / 16.66 MB, free: 6.59 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.537/1.537, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001053/0.001053, allocations: 51.08 kB / 326.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08539, allocations: 46.63 MB / 373.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003666/0.08909, allocations: 2.693 MB / 375.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.0909, allocations: 1.196 MB / 377.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.09105, allocations: 8 kB / 377.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.09247, allocations: 0.6263 MB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.09277, allocations: 131 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.09407, allocations: 0.6741 MB / 378.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.09447, allocations: 294.6 kB / 378.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004571/0.09493, allocations: 282.8 kB / 379.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.09511, allocations: 127.5 kB / 379.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.09534, allocations: 163.4 kB / 379.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.09539, allocations: 24 kB / 379.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.09573, allocations: 179.8 kB / 379.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.09579, allocations: 63.77 kB / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.09593, allocations: 151.3 kB / 379.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.09648, allocations: 494.2 kB / 380.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.0965, allocations: 0 / 380.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.0965, allocations: 0 / 380.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.09652, allocations: 0 / 380.2 MB, free: 10.24 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.001565/0.09809, allocations: 0.7404 MB / 381 MB, free: 9.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.09813, allocations: 8.031 kB / 381 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008205/0.09896, allocations: 120.7 kB / 381.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.09934, allocations: 264.5 kB / 381.4 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.09938, allocations: 25.03 kB / 381.4 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.09944, allocations: 32.38 kB / 381.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.09996, allocations: 337 kB / 381.7 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.09998, allocations: 0 / 381.7 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.1, allocations: 12 kB / 381.8 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.1, allocations: 8 kB / 381.8 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.1004, allocations: 246.5 kB / 382 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.1023, allocations: 1.436 MB / 383.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.1029, allocations: 0.7043 MB / 384.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.1031, allocations: 104.8 kB / 384.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-05/0.1032, allocations: 92.98 kB / 384.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1032, allocations: 34.56 kB / 384.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.1032, allocations: 0 / 384.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001193/0.1044, allocations: 499.3 kB / 384.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1045, allocations: 55.41 kB / 384.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1046, allocations: 175.3 kB / 385.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1047, allocations: 29.7 kB / 385.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.1048, allocations: 176.4 kB / 385.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.1048, allocations: 91.22 kB / 385.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.1049, allocations: 49.98 kB / 385.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1051, allocations: 326.8 kB / 385.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1052, allocations: 68.53 kB / 385.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.1053, allocations: 132.2 kB / 385.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.1056, allocations: 220.1 kB / 386.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1056, allocations: 0 / 386.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005332/0.1062, allocations: 336.7 kB / 386.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1062, allocations: 4 kB / 386.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1062, allocations: 0 / 386.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/0.1065, allocations: 84.67 kB / 386.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.1067, allocations: 39.98 kB / 386.6 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.1086, allocations: 2.041 MB / 388.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.1087, allocations: 27.78 kB / 388.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.1087, allocations: 8 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.0001343/0.1089, allocations: 145.8 kB / 388.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.1089, allocations: 23.83 kB / 388.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005186/0.1095, allocations: 284 kB / 389.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1095, allocations: 4 kB / 389.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1095, allocations: 4 kB / 389.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1095, allocations: 0 / 389.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009264/0.1104, allocations: 0.6953 MB / 389.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1104, allocations: 0 / 389.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1106, allocations: 27.92 kB / 389.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/0.1108, allocations: 64.81 kB / 389.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1108, allocations: 11.98 kB / 389.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.1126, allocations: 2.034 MB / 392 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1126, allocations: 0 / 392 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.1133, allocations: 456.6 kB / 392.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/0.1134, allocations: 113 kB / 392.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1134, allocations: 4 kB / 392.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.1135, allocations: 4 kB / 392.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1136, allocations: 19.97 kB / 392.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1136, allocations: 4 kB / 392.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.382e-05/0.1137, allocations: 127.2 kB / 392.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1137, allocations: 0 / 392.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004675/0.1142, allocations: 95.78 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.0001902/0.1144, allocations: 135.2 kB / 392.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005852/0.115, allocations: 366.4 kB / 393.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.115, allocations: 0 / 393.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.1153, allocations: 246.5 kB / 393.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1156, allocations: 19.89 kB / 393.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009093/0.1165, allocations: 0.5509 MB / 394.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1168, allocations: 0.7599 MB / 394.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.262e-05/0.1169, allocations: 25.94 kB / 394.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.117, allocations: 19.44 kB / 394.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.117, allocations: 0 / 394.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of Templates: time 0.006038/0.123, allocations: 2.583 MB / 397.5 MB, free: 7.992 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)